Running an aggregate on a view may throw IllegalChangeToExpectedDatabaseVersion

XMLWordPrintableJSON

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

      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
              Reporter:
              Silvia Surroca
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: