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

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

      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.

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

              Created:
              Updated: