-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
Replication
-
ALL
-
Repl 2021-01-25
RollbackViaRefetch only sets the collection namespace on a request and does not set a UUID.
When attempting to create a collection on the rollback node during an upsert, we later hit a uassert because we are not primary and we did not pass in a UUID.
Since the rollback node is creating a collection it sees on the new primary, it should be using the same UUID.
Currently, the rollback attempt will fail, but is not marked unrecoverable. Subsequent rollback attempts can invariant, one example being the second rollback attempt trying to find a collection that was already dropped in the unsuccessful attempt.