efficient / libcuckoo

A high-performance, concurrent hash table
Other
1.61k stars 275 forks source link

Forcible dropping all the locks #128

Closed uzupku closed 4 years ago

uzupku commented 4 years ago

Hi guys! We are using libcuckoo in shared memory. When process is crashed we just restart it, reconnect to the map in the shared memory and continue to work. Unfortunately some time crash happen when libcuckoo is locked. So restarted process reconnect to the locked map and became locked too. And there are no1 who can unlock it, cause owner of the lock is dead.

Could you please provide suggestion how to forcible drop all the locks from the map. We are ensure that there are no other clients (readers / writers) at this time, so concurrency is not a problem.