The partial secondary index needed for retryable transactions is created on step up to primary after creating the config.transactions collection for the first time, but this is skipped if the collection already exists. Thus if the collection already exists and the index wasn't initially created, the index will never be created. Creating an index on an existing collection is too expensive to do on transition to primary, and instead should be done as part of setFCV.
- causes
-
SERVER-66828 Coverity analysis defect 122257: Misuse of memcmp-style function
- Closed
- related to
-
SERVER-67801 createIndexes should handle empty index specs on config.transactions
- Closed
-
SERVER-66755 Enable rollback_transaction_table.js when SERVER-66565 is in the latest 6.0
- Closed