• Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-03-12

      Implement errors related to snapshots.

      Implementation:

      1. add errors (if not already added)

      error_code("SnapshotUnavailable", 239)
      error_code("SnapshotTooOld", 240)
      

      2. add

      error_class("StaleSnapshotError",
                  ["StaleConfig", "StaleShardVersion", "StaleEpoch", "SnapshotUnavailable",
                   "SnapshotTooOld"])
      

      Test:

      no testcases are planned

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: