Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
mongo version: 4.0.3



how it happed?
we can hook file write for config server, oplog will not be written to the file.
- config server can raise term for election
- shard server exchange information with config server and raise lastSeenConfigServerOpTime in memory
- mongos exchange information with shard and raise lastSeenConfigServerOpTime in memory
- restart config server and unregister hook , the term for config server lesser than lastSeenConfigServerOpTime