[SERVER-75470] Reject change stream getMore commands after a split or merge has been committed Created: 29/Mar/23  Updated: 29/Oct/23  Resolved: 24/Apr/23

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

Type: Improvement Priority: Major - P3
Reporter: Mickey Winters Assignee: Mickey Winters
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-04-17, QE 2023-05-01
Participants:
Linked BF Score: 51

 Description   
  • add assertCanTailChangeStream to tenant_migration_access_blocker namespace
  • update getMores to use this aditional blocking logic
  • update copies_change_collections tests for split and merge to assert change stream getMore and aggregate commands fail with the appropriate errors at the appropriate times


 Comments   
Comment by Githook User [ 22/Apr/23 ]

Author:

{'name': 'Mickey. J Winters', 'email': 'mickey.winters@mongodb.com', 'username': 'mjrb'}

Message: SERVER-75470 Reject change stream getMore commands after a split or merge has been committed
Branch: master
https://github.com/mongodb/mongo/commit/bd7b3ee926b2cd488c0c71c4208d5737345f7ed8

Comment by xgen-buildbaron-user [ 20/Apr/23 ]

Ticket re-opened due to revert. serverless began a consistent failure of jstests/serverless/shard_split_change_collections_test.js

Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-75470 Reject change stream getMore commands after a split or merge has been committed"

This reverts commit d674d78896b572797df816a093ab8682ab860eca.
Branch: master
https://github.com/mongodb/mongo/commit/77c517c92f0a24ae67e1a5949882570da9a98934

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Mickey. J Winters', 'email': 'mickey.winters@mongodb.com', 'username': 'mjrb'}

Message: SERVER-75470 Reject change stream getMore commands after a split or merge has been committed
Branch: master
https://github.com/mongodb/mongo/commit/d674d78896b572797df816a093ab8682ab860eca

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