[SERVER-69115] Enable writing to the change collection on the secondaries. Created: 24/Aug/22  Updated: 29/Oct/23  Resolved: 26/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Rishab Joshi (Inactive) Assignee: Rishab Joshi (Inactive)
Resolution: Fixed Votes: 0
Labels: pm-2334-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after SERVER-62395 Use tid field to construct namespace ... Closed
has to be done after SERVER-69726 Run multitenancy tests on replica sets Closed
Related
related to SERVER-70540 Enable multi-tenancy support for oplo... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-10-31
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 26/Oct/22 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}

Message: SERVER-69115 Enable writing to the change collection on the secondaries.
Branch: master
https://github.com/mongodb/mongo/commit/3961dc9340303632deb6d5341ab09a47e0dd8625

Generated at Thu Feb 08 06:12:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.