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

Throw Stale Shard Version when collection is unknown on getCollectionDescription

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-03-09, Sharding 2020-03-23, Sharding 2020-04-06, Sharding 2020-04-20

      Description

      If a call to getCollectionDescription is issued, we must make sure the collection information is known, that is, a refresh should've been called previously. If the data of the collection is unkown, throw a Stale Shard Version Exception. Make sure that all code paths are handling the exception appropriately.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcos.grillo Marcos José Grillo Ramirez
              Reporter:
              marcos.grillo Marcos José Grillo Ramirez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: