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

a changeStream on a database will incorrectly notify that unsharded collections in the database have been dropped after movePrimary

    XMLWordPrintableJSON

Details

    • Query Execution
    • ALL
    • Sharding EMEA 2023-04-17

    Description

      One fix for this would be to mark "dropCollections" done on all the unsharded collections in the database at the end of movePrimary as "fromMigrate", so that they are ignored by changeStreams.

      Also, this problem would go away if unsharded collections were treated as sharded collections with one chunk.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: