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

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: