go-caskdb icon indicating copy to clipboard operation
go-caskdb copied to clipboard

Syncronization problem

Open faridtmammadov opened this issue 1 year ago • 0 comments

Calling Get and Set method concurrently creates garbage values. I suggest read/write mutex to control this misbehaviour, since reading from hashtable and file is thread-safe, however read and write cause problems.

faridtmammadov avatar Apr 11 '24 10:04 faridtmammadov