Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
Description
Add ReadWriteLock into PipelineStateManagerV2Impl to protect contentions between RaftServer and PipelineManager.
If current leader SCM (as leader of term N) steps down while there are on-going transactions, there might be read/write contentions that new leader SCM (as leader of term N+1) has replicated some raft log entries encapsulating method addPipeline()/removePipeline()/updatePipelineState() to the underlying RaftServer that are being applied by StateMachineUpdater, and at the same time PipelineManager is callingĀ getPipelines().
Attachments
Issue Links
- links to