Open
Bug 1821056
Opened 2 years ago
Updated 1 year ago
kvstore: Disallow opening multiple handles to the same database
Categories
(Core :: SQLite and Embedded Database Bindings, enhancement, P3)
Core
SQLite and Embedded Database Bindings
Tracking
()
NEW
People
(Reporter: chutten, Unassigned)
References
Details
Per bug 1805427, comment 26 and bug 1807010, comment #2:
rkvin SafeMode is not threadsafe (and making it threadsafe is a) hard, b) probably not worth it, and c) not likely the correct design to pursue)kvstoremakes claims of supporting multiple dbs at the same path which have proven incorrect: bug 1805427, bug 1807010- The claims might've been correct under LMDB, but
rkvis being used in SafeMode here.
- The claims might've been correct under LMDB, but
kvstorecan resolve things refusing to open multiple handles to the same database.
This bug is about handling multiple consumers of storage at the same path. Be careful, have fun, and good luck.
Updated•2 years ago
|
Severity: -- → N/A
Priority: -- → P3
Comment 1•1 year ago
|
||
The new SQLite backend that we're building for kvstore—with the goal of migrating all rkv databases to it, and eventually removing the rkv crate from the tree—explicitly supports multiple databases at the same path!
Let's keep this bug open, since the new backend is still in progress, and we haven't migrated any consumers to it—but good things are coming! 😊
Updated•1 year ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•