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
perf: use RWMutex for multiversion store shards (reads use RLock)
GetLatestBeforeIndex accounts for 52.6% of all mutex delay because
the plain Mutex forces exclusive locking even for read-only map
lookups. Switch to RWMutex so concurrent readers (24 OCC workers)
don't block each other. Write paths (SetWriteset, InvalidateWriteset,
SetEstimatedWriteset) keep exclusive Lock.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments