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

Add snapshot errors

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-03-12

    Description

      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

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: