None of the collection-xxxx.wt files was used . New ones were being created.
I tried to use wt tool in container to salvage the data directly from collection-x-xxxxx.wt files, but it didn't work:
./wt -v -h /data/db -C "extensions=[./ext/compressors/snappy/.libs/libwi
redtiger_snappy.so]" -R salvage collection-0-2860746021073474554.wt
/wiredtiger/wiredtiger-2.7.0/.libs/wt: error while loading shared libraries:
libwiredtiger-2.7.0.so: cannot open shared
object file: No such file or directory
I ran mongo outside container putting recovered data in its dbpath and that didn't work either (attached mongo.log)
When I tried to salvage the data (outside container) I got this:
./wt -v -h /root/appraisermetrics/mongodb -C "extensions=[./ext/compressors/snappy/.libs/libwiredtiger_snappy.so]" -R salvage collection-0-2860746021073474554.wt
[1603929726:17081][311698:0x7f151f843b80], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger
.wt: WT_ERROR: non-specific WiredTiger error
[1603929726:17299][311698:0x7f151f843b80], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
[1603929726:17391][311698:0x7f151f843b80], file:WiredTiger.wt, connection: This may be due to the database files being e
ncrypted, being from an older version or due to corruption on disk
[1603929726:17462][311698:0x7f151f843b80], file:WiredTiger.wt, connection: You should confirm that you have opened the d
atabase with the correct options including all encryption and compression options
wt: WT_ERROR: non-specific WiredTiger error
Any help would be highly appreciated.