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

shard_split_rejects_multiple_ops test is failing due to a race condition with unexpected garbage collection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-06-13
    • 48

    Description

      The test wrongfully tests that the split hasn’t been garbage collected even though we do a join of the split thread way before and we also test at that point that there is a ConflictingOperationInProgress

      The test also does not use the retryable command logic implemented which it should and that needs to be updated.
      In this case we are trying to have a shard split with different tenantIds.

      The test complains that it did not fail to run the commitShardSplit and that is because the garbage collection already happened and we fail to reject with `ConflictingOperationInProgress`

      Attachments

        Activity

          People

            mathis.bessa@mongodb.com Mathis Bessa
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: