-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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