[Feature] Release Locks at Start Up #62

Closed
opened 2022-06-14 12:35:01 +00:00 by abdulrabbani00 · 0 comments
abdulrabbani00 commented 2022-06-14 12:35:01 +00:00 (Migrated from github.com)

Table of contents generated with markdown-toc

Overview

  • Requester: @abdulrabbani00
  • Epic Link: None

Request

At start up, check to see if known_gaps or historic_process have any tables checked out for the current nodeIdentifier. If they do, "un-check" them out. This way, we won't have "orphaned" entries that won't ever be finished for nodes re-running with the same nodeIdentifier.

Potential Solution

When starting the batch processing, check to see if this nodeIdentifier has any locks, if they do, release them.

Alternative Solutions

Additional Context

- [Overview](#overview) - [Request](#request) - [Potential Solution](#potential-solution) - [Alternative Solutions](#alternative-solutions) - [Additional Context](#additional-context) <small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small> # Overview - **Requester**: @abdulrabbani00 - **Epic Link**: None ## Request <!--- Explain what you want and why. If this feature is related to a problem please highlight it here.** ---> At start up, check to see if known_gaps or historic_process have any tables checked out for the current nodeIdentifier. If they do, "un-check" them out. This way, we won't have "orphaned" entries that won't ever be finished for nodes re-running with the same nodeIdentifier. # Potential Solution <!---Provide any details for a potential solution. ---> When starting the batch processing, check to see if this nodeIdentifier has any locks, if they do, release them. ## Alternative Solutions <!---Provide any alternative solutions. ---> # Additional Context <!---Provide Additional Context. --->
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-beacon-indexer#62
No description provided.