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

Narrow the filtering of PrimaryOnlyServiceOpObserver for deletes

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-12-25, Execution Team 2024-01-08, Execution Team 2024-01-22

      As found by suganthi.mani@mongodb.com, this OpObserver is not filtering on namespaces for deletes at the moment (i.e. it is set to kAll).

       

      The implicit filtering is dependent on:
      PrimaryOnlyServiceRegistry::lookupServerByNamespace() only has services registered that have getStateDocumentsNS() that pertain to the config db. Here is the full list of currently overridden methods, all of which are within the config db.

      • kShardMergeRecipientsNamespace
      • kTenantMigrationDonorsNamespace
      • kTenantMigrationRecipientsNamespace
      • kConfigsvrCoordinatorsNamespace
      • kGlobalIndexClonerNamespace
      • kMultiUpdateCoordinatorsNamespace
      • kShardingRenameParticipantsNamespace
      • kConfigReshardingOperationsNamespace
      • kDonorReshardingOperationsNamespace
      • kRecipientReshardingOperationsNamespace
      • kShardingDDLCoordinatorsNamespace
      • kShardSplitDonorsNamespace
      • kSetChangeStreamStateCoordinatorNamespace

            Assignee:
            matt.kneiser@mongodb.com Matt Kneiser
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: