docs(db): clarify HyperDB/Rocks primary engine path (P0-3)
Document local Rocks engine role relative to HyperDB as the primary persistence path. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -44,7 +44,7 @@ None. This module is local-only. Peers replicate via gossip into the same collec
|
||||
|
||||
| Engine | Path | When |
|
||||
|--------|------|------|
|
||||
| HyperDB | `{storagePath}/` (RocksDB files) | `hyperdb` installed and `spec/hyperdb/index.js` exists after `npm run build:schema` |
|
||||
| HyperDB (Rocks) | `{storagePath}/` (RocksDB files via `HyperDB.rocks`) | `hyperdb` installed and `spec/hyperdb/index.js` exists after `npm run build:schema` — **primary engine (P0-3 complete)** |
|
||||
| JSON | `{storagePath}/pearcord-db.json` | Fallback if HyperDB unavailable, or HyperDB empty while JSON already has users |
|
||||
|
||||
Platform default path: `{PEARCORD_STORAGE or ~/.config/pearcord}/db`.
|
||||
|
||||
Reference in New Issue
Block a user