Record executing messages in log db and handle write failures (#10973)
* op-supervisor: Support recording executing message info * op-supervisor: Reduce permissions * op-supervisor: Implement recovery for entry db * op-supervisor: Track size in entrydb instead of last entry idx * op-supervisor: Trim log entries back to the last valid ending point * op-supervisor: Remove the manual recover operations since recovery at startup is automatic * op-supervisor: Add support for writing multiple entries in a single write * op-supervisor: Write all entries for a log in one append call. Only update in-memory state after the write succeeds. * op-supervisor: Handle partial writes * op-supervisor: Extract logic to reverse an init event * op-supervisor: Use errors.New * op-supervisor: Combine the two AddLog variants. * op-supervisor: Remove place holder tests. * op-supervisor: Separate Executes and Contains queries * op-supervisor: Only read executing message when it is actually used.
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment