You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Santhosh Kumar Shanmugham (JIRA)" <ji...@apache.org> on 2016/12/02 23:53:58 UTC

[jira] [Created] (AURORA-1844) Force a snapshot at the end of startup.

Santhosh Kumar Shanmugham created AURORA-1844:
-------------------------------------------------

             Summary: Force a snapshot at the end of startup.
                 Key: AURORA-1844
                 URL: https://issues.apache.org/jira/browse/AURORA-1844
             Project: Aurora
          Issue Type: Task
            Reporter: Santhosh Kumar Shanmugham
            Priority: Minor


When the scheduler starts up, it replays the logs from the replicated log to catch up with the current state, before announcing itself as the leader to the outside world. If for any reason after this replay, the scheduler dies after adding more log entires, the next startup will have to redo the work again. This becomes problem when the amount of additional work added is not trivial, and can take the scheduler down the path of a spiraling death. One example, of this is when the TaskHistoryPruner cleans up the DB but adds to the log entires. In order to avoid the repeated work, the scheduler should force a snapshot after the initial replay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)