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

Running an aggregate on a view may throw IllegalChangeToExpectedDatabaseVersion

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • 7.3.0-rc1
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.3
    • CAR Team 2024-02-05
    • 134

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: