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
{{ message }}
Repository navigation
[Bug] Bookkeeper concurrent containers has concurrency issues #4318
// First try optimistic lockinglongstoredKey = keys[bucket];
VstoredValue = values[bucket];
are not in an atomic scope.
If rehash method triggered in an async thread after calculating bucket and finished before read entry from the array, #3074 introduces shrink, the new arrays' capital can be smaller than before, so ArrayIndexOutOfBoundsExeception happens.
Activity
dao-jun commentedon Apr 27, 2024
I'll handle the issue.
lhotari commentedon Apr 27, 2024
There's already #4066 to fix the issue. @eolivelli @hangc0276 please review and merge it.