Only output 'reshardBlockingWrites' event when 'showSystemEvents' is true instead of when 'showMigrationEvents' is true

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The new "reshardingBlockingWrites" event (SERVER-98981) is currently fromMigrate: true event so in SERVER-98584 we need to open a change streams cursor with showMigrationEvents: true but that has the unwanted effect of capturing deletes of orphan documents. Hiding the reshardBlockingWrites event behind showSystemEvents instead of showMigrationEvents allows the change streams monitor to see the reshardBlockingWrites without seeing the orphan docs deletes.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: