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
It seems like originally you guys wanted to implement thread-local arena for the skiplist but later things went off the rail. Therefore, I suggest in lieu of making the arena concurrent-compatible, we may just utilize the thread_local crate and fulfill the original intention. And maybe I can fix it.
The arena in skiplist does not support concurrent operations(#116), but it could be used concurrently when
allow_concurrent_write
is set totrue
.Concurrent tests such as
bench_read_write_skiplist
will crash with[SIGSEGV](signal: 11, SIGSEGV: invalid memory reference)
when reducing thearena capacity
, for example changing the https://github.com/tikv/agatedb/blob/master/skiplist/benches/bench.rs#L47 size from512 << 20
to512
.Supporting the concurrent arena allocator type may be necessary.
The text was updated successfully, but these errors were encountered: