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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-06-13
    • 48
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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`

            Assignee:
            Mathis Bessa (Inactive)
            Reporter:
            Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: