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

Return StaleDbVersion errors as write errors on timeseries insert

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • Cluster Scalability 2024-07-22
    • 0

      In rebuildOptionsWithGranularityFromConfigServer, we take a db lock on the buckets namespace. If a StaleDbVersion error is thrown, we'll currently return the error as a command level error rather than a write error - mongos expects any stale errors to be returned as write errors, and so won't learn its stale and refresh.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: