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

Write without shard key test should treat SnapshotUnavailable as transient error

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

      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@mongodb.com Brett Nawrocki
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: