Hi, I use MongoDB 6.0.5 on Docker with a replica (3 Containers having 3 different instances of DB).
Regularly dump with ‘mongodump --quiet --gzip’ command.
Today, have created again the instances on Docker, for my 3 Containers, and wanted to restore DB from dumps. For most of bson files the restore with mongorestore went easy.
But for the biggest DB/collection, which is time-series it crashes.
I am using it in a recommended / standard way
mongorestore --host=node2 --port=27017 --username=jj --password=pp --authenticationDatabase=admin --nsInclude=my_db.my_collection --gzip system.buckets.timeseries.bson.gz
where all: jj, pp, my_db, my_collection are checked, and correct.
I have also tried to set different servers/primary, etc. but the result is the same.
The error is as:
finished restoring test.system.buckets.timeseries (0 documents, 0 failures)
2023-05-08T23:01:00.472+0000 Failed: test.system.buckets.timeseries: error restoring from system.buckets.timeseries.bson.gz: connection(enode2:27017[-4]) socket was unexpectedly closed: EOF
and node_2 is even exiting. So I have looked into logs, and it shows something like
2023-05-09 01:00:30 {"t":{"$date":"2023-05-08T23:00:30.448+00:00"},"s":"F", "c":"CONTROL", "id":6384300, "ctx":"conn52","msg":"Writing fatal message","attr":{"message":"Got signal: 6 (Aborted).\n"}}
Anyone can help on this? Maybe there is another way to restore what was dumped before?