The uassert was added in the first commit in the pull request for SERVER-66344 to prevent the infinite DuplicateKey/WriteConflict errors described in SERVER-66526. However, later the issue was fixed by allowing subsequent oplog application to overwrite any existing config.image_collection entry with the same lsid, txnNumber and ts. So the uassert shouldn't have been committed and should be removed.
- is related to
-
SERVER-66526 Hang upon restart when there is a prepared internal transaction for retryable findAndModify executed with storeFindAndModifyImagesInSideCollection=true to reconstruct
- Closed
- related to
-
SERVER-68212 Disallow existing config.image_collection entry to go from invalid to valid
- Backlog