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

Enable writing to the change collection on the secondaries.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QE 2022-10-31

      As part of this ticket, we should make the change collection code multi-tenant for the oplog application. We should amend the change collection code that writes to the secondary, and runs during initial sync, and the startup recovery. A lot of JS tests that rely on the oplog application are currently blocked and in some JS tests, the validation code that runs on secondary is disabled (Refer to TODO for this). We should be able to unblock| or uncomment those codes after we have successfully made these changes.

       

      Other than that, we should attempt to pass all relevant flags to the change_streams_multitenant_sharded_collections_passthrough. The change_streams_multitenant_sharded_collections_passthrough currently runs on a subset of feature flags. We should check if we can enable all feature flags for this passthrough. The ChangeStreamMultitenantReplicaSetTest class contains the full list of feature flags and should be used as a reference. Other than that we can also check if we could use ChangeStreamMultitenantReplicaSetTest to perform ReplicaSet overrides here.

            Assignee:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Reporter:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: