SERVER-117481 Add change stream placement notifications for timeseries upgrade/downgrade coordinator (#52427)
GitOrigin-RevId: 2237c11f0d1cd24465f1f3033d13a3cb0db44cce
This commit is contained in:
parent
f7dc506b2e
commit
e1d021b91e
@ -914,6 +914,7 @@ for (const [downgradeFCV, testHelper] of crossProduct(
|
||||
const cursor = openChangeStreamCursor(cst, 1, {
|
||||
showSystemEvents: false,
|
||||
watchMode: ChangeStreamWatchMode.kDb,
|
||||
version: "v1", // Matches mongos's own selection at downgraded FCV.
|
||||
});
|
||||
|
||||
insertData("preUpgrade");
|
||||
@ -993,6 +994,7 @@ for (const [downgradeFCV, testHelper] of crossProduct(
|
||||
showSystemEvents: true,
|
||||
watchMode,
|
||||
comment,
|
||||
version: "v1", // Matches mongos's own selection at downgraded FCV.
|
||||
});
|
||||
|
||||
{
|
||||
|
||||
@ -482,11 +482,6 @@ ExecutorFuture<void> TimeseriesUpgradeDowngradeCoordinator::_runImpl(
|
||||
defaultMajorityWriteConcern(),
|
||||
osi,
|
||||
**executor);
|
||||
|
||||
// TODO SERVER-117481: Generate placement change notifications for change streams.
|
||||
// Similar to rename coordinator (kSetupChangeStreamsPreconditions phase), we need
|
||||
// to notify change stream readers about the namespace change from oldTrackedNss
|
||||
// to newTrackedNss using generatePlacementChangeNotificationOnShard().
|
||||
}))
|
||||
.then(_buildPhaseHandler(
|
||||
Phase::kReleaseCriticalSection,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user