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

Running an aggregate on a view may throw IllegalChangeToExpectedDatabaseVersion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.3.2
    • Affects Version/s: 7.3.0-rc1
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.3
    • CAR Team 2024-02-05
    • 134

      We can get an IllegalChangeToExpectedDatabaseVersion error when we create a ScopedSetShardRole under runAggregateOnView() if the view dbVersion mismatches with the dbVersion of its linked collection. For instance, this could happen if there is a movePrimary running concurrently.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: