Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31245

Inserts to "system.indexes" bypass the check for retryability

    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-06-03, Sharding 2019-06-17

      Right now if an insert is to "system.indexes" it calls performCreateIndexes before the check for retryability for regular inserts. This means a retry of a successful insert to that collection will not be skipped and will call createIndexes again. We should either add retry checking to performCreateIndexes or uassert if an insert to "system.indexes" contains a txnNumber since the operation can't be retried.

      Failing retryable_writes_jscore_passthrough tests:

      • batch_write_command_insert.js

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: