You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
If a given write has failed, then the task's local state is no longer going to be in sync with the played back log, and now new log entries will be written. The peer should either rollback to the old state and create a new ledger, or should suicide, causing a new peer replay the state and start writing to a new ledger. The unacked messages will then be replayed.
I suggest we do the second first, then create a new issue to implement the first at some point. I believe implementing the first is worthwhile because in case of a partition we may not want all the grouping peers to restart at the same time, and would rather them attempt to recover. It may be tricky to do so however.
The text was updated successfully, but these errors were encountered:
See https://github.com/onyx-platform/onyx/blob/0.8.x/src/onyx/state/log/bookkeeper.clj#L67
If a given write has failed, then the task's local state is no longer going to be in sync with the played back log, and now new log entries will be written. The peer should either rollback to the old state and create a new ledger, or should suicide, causing a new peer replay the state and start writing to a new ledger. The unacked messages will then be replayed.
I suggest we do the second first, then create a new issue to implement the first at some point. I believe implementing the first is worthwhile because in case of a partition we may not want all the grouping peers to restart at the same time, and would rather them attempt to recover. It may be tricky to do so however.
The text was updated successfully, but these errors were encountered: