cayley icon indicating copy to clipboard operation
cayley copied to clipboard

memstore is not threadsafe

Open dpavsrtrl opened this issue 5 years ago • 3 comments

Tried running memstore example with -race and and got errors.

After submitting PR #780 in an attempt to make memstore threadsafe, discovered that it can be threadsafe but not consistent for readers when a writer is updating it (by deleting, adding).

Now I believe that the issue is not that current memstore is not threadsafe, but there is no concurrent memstore.

dpavsrtrl avatar Apr 23 '19 19:04 dpavsrtrl

Do you consider working on a consistent concurrent memstore?

iddan avatar Sep 17 '19 23:09 iddan

Still relevant. Will need to implement it at some point.

dennwc avatar Sep 18 '19 13:09 dennwc

Ok, I'm sorry. Don't have time currently.

dpavsrtrl avatar Sep 18 '19 13:09 dpavsrtrl