Write without shard key test should treat SnapshotUnavailable as transient error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0, 7.3.2
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v7.3, v7.2
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Post the changes in SERVER-84723, refineCollectionShardKey DDL op command can cause a SnapshotUnavailableError if the collection timestamp it modifies is newer than that of a txn operation in progress.

      Since this snapshot error is a transient txn error, we should modify write_without_shard_key_base.js to skip validating response in this case. This can happen for other DDL operations too which modify collection timestamp.

            Assignee:
            Brett Nawrocki
            Reporter:
            Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: