Details
-
New Feature
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
STM 2020-06-29
Description
Example usage:
$ resmoke.py run --backupOnRestartDir tmp restart_sharding.js
|
$ ls -R tmp
|
tmp:
|
data
|
|
|
tmp/data:
|
db
|
|
|
tmp/data/db:
|
job0
|
|
|
tmp/data/db/job0:
|
mongorunner
|
|
|
tmp/data/db/job0/mongorunner:
|
restart_sharding-rs0-0 restart_sharding-rs1-0
|
|
|
tmp/data/db/job0/mongorunner/restart_sharding-rs0-0:
|
collection-0--6804599184598065280.wt collection-27--6804599184598065280.wt index-20--6804599184598065280.wt index-9--6804599184598065280.wt
|
<snip>
|
tmp/data/db/job0/mongorunner/restart_sharding-rs1-0:
|
collection-0-6538405330685397570.wt collection-27-6538405330685397570.wt index-20-6538405330685397570.wt journal
|
Startup is a phase that can discover data inconsistencies. To aid debugging test failures in restart suites, introduce a resmoke + mongo shell option that backs up a dbpath before starting up a mongod process.