Thanks. It barfs a ton of output to terminal but how do I import the keys/values to a new cluster?
Below here’s how I got it working, in case anyone else runs across this thread:
I tried FDB_DUMP_DEBUG=true fdbserver --role kvfiledump --kvfile storage-HASH.sqlite
but get only this:
Dump start: , end: :\xff\xff, debug: true
Fatal Error: Broken promise
I found this thread showing I needed to shutdown the cluster first: How would I recover from this failed cluster move? - #8 by swr
However, I tried doing that and no difference. I tried copying it to a new cluster in place of that cluster’s storage .sqlite
file and got the same, only with database corruption line 2411
before the broken promise. I tried removing the .sqlite-wal
file and got only Fatal Error: Broken promise
. Finally, I tried running touch
storage-HASH.sqlite-wal` and I could finally get a working dump