You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Offline exporters (eloqkv2rdb / eloqkv2aof) silently exclude custom-namespace data #495
Both offline export tools enumerate only the per-database data tables and never visit the namespace shared table, so all data belonging to custom namespaces is silently missing from exports.
Details
src/tools/eloqkv2rdb/eloqkv2rdb.cpp:1434 — table discovery filters on the prefix "eloqkv_data_table_".
Custom-namespace keys live in the shared ns_data_0 table (kv name eloqkv_ns_data_0, see docs/05-namespaces.md), which matches neither filter. No warning is emitted.
Impact
Migration/backup via these tools loses every non-default-namespace key without any indication. (Online DUMP/RESTORE are namespace-aware and unaffected.)
Suggested fix
Either include eloqkv_ns_data_0 (mapping prefixed keys back to namespaces, or exporting per namespace via a --namespace flag), or at minimum detect its presence and fail/warn loudly.
Found during the module-docs review (#492); see docs/07-persistence-and-tools.md Gotchas.
Activity