-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
3
-
Tools and Replicator
-
8
Problem Statement/Rationale
Running setDefaultRWConcern can create the config.settings collection. The collection should be created by an oplog with namespace config.$cmd, which is ignored by mongorestore. As a result, restoring the oplog dump errors out with the message:
Failed: restore error: error applying oplog: applyOps: (NamespaceNotFound) cannot apply insert or update operation on a non-existent namespace config.settings
Expected Results
It's unclear whether this should be supported.
Actual Results
Mongorestore fail with error.
Additional Notes
We should either fix this in mongorestore, or add a guardrail in mongodump to prevent creating unrestorable oplog files.
- is related to
-
TOOLS-4061 failed: ctc_rs_dump_oplog_concurrency_fsm_v50_to_v50 on mongodump-v50-to-v50-amazon2-arm64 [mongo-tools @ 3f2e10ee] (job_log_job0)
-
- In Code Review
-