-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
v4.2, v4.0, v3.6
-
Repl 2019-09-09
-
(copied to CRM)
In CollectionCloner::_countCallback we abort the clone if the value returned from the count command on the collection is negative. However, as we document, the value returned by the count command is advisory and may not be accurate, e.g if there was an unclean shutdown. I believe we are (or should be) only using the count for advisory purposes during the clone, so we shouldn't abort the clone if the count is negative, as this can for example prevent initial sync.