[
https://issues.apache.org/jira/browse/RATIS-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-2399:
------------------------------
Description: Currently, updating commitIndex and snapshotIndex holds the
writeLock. -We can use a separated lock for improving performance.- They
actually do not require the lock. (was: Currently, updating commitIndex and
snapshotIndex holds the writeLock. We can use a separated lock for improving
performance.)
Summary: Avoid locks for commitIndex and snapshotIndex in RaftLogBase
(was: RaftLogBase: commitIndex and snapshotIndex should use a separated lock)
> Avoid locks for commitIndex and snapshotIndex in RaftLogBase
> ------------------------------------------------------------
>
> Key: RATIS-2399
> URL: https://issues.apache.org/jira/browse/RATIS-2399
> Project: Ratis
> Issue Type: Sub-task
> Components: RaftLog
> Reporter: Tsz-wo Sze
> Assignee: Elia Renzoni
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Currently, updating commitIndex and snapshotIndex holds the writeLock. -We
> can use a separated lock for improving performance.- They actually do not
> require the lock.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)