[Feature] Graceful Application Shutdown #50
Labels
No Label
backlog
beacon
bug
critical
documentation
duplicate
enhancement
epic
feature
good first issue
help wanted
in review
invalid
question
test
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/ipld-eth-beacon-indexer#50
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Table of contents generated with markdown-toc
Overview
Request
When we shut the application down, we need to ensure that it releases any "locks" to database rows. This is critical, without a doubt. If we shutdown the application without reverting the
checked_out
row, we run the risk of having orphan columns.Potential Solution
checked_out
column. Something like,lock_holder_identifier
.checked_out = false
wherelock_holder_identifier
is their number.Alternative Solutions
checked_out: true
-->checked_out: false
.Additional Context
I will be proceeding with the alternative solution. It's easier to implement, provide flexibility at this stage, and will be easier to study.
We can reconsider this solution down the road if needed.