2.1版本初始化KVDB时重复上锁
innovak opened this issue · comments
innovak commented
2.1版本中:fdb_kvdb_init()在fdb_kvdb.c:1763行锁定了数据库,在1800行调用_fdb_kv_load(),后者在1649行再次锁定了数据库.似乎混淆了KVDB和cache的锁?
Daniil Arkhangelsky commented
I wanted to update to the new version, but I encountered the same error. Are there any fixes?
朱天龙 (Armink) commented
确实,_fdb_kv_load 里的锁可以移除掉了呢,毕竟外面有锁了
你方便提交一个 PR 吗?
朱天龙 (Armink) commented
I wanted to update to the new version, but I encountered the same error. Are there any fixes?
This issue seems to be a code simplification, but it will not affect the functionality.
innovak commented
确实,_fdb_kv_load 里的锁可以移除掉了呢,毕竟外面有锁了
你方便提交一个 PR 吗?
这边网络不太方便,您来修改吧.
朱天龙 (Armink) commented
最新版本已更新