Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/consensus: do not hold an oplock when prefix truncating managers
When prefix truncating configuration manager and offset translator the main raft operation mutex doesn't have to be held. Prefix truncation only mutates the state that is no longer changed by any other operation than persisting a snapshot. It is enough to make the operation mutually exclusive with other snapshot related operations. Signed-off-by: Michal Maslanka <michal@redpanda.com>
- Loading branch information