-
Type: Improvement
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:None
-
Sharding
Currently, we clear the secondary filtering metadata when it reaches the point when primary reaches the critical section. It then tries to wait for primary critical section, and wait for it's replication to reach that opTime.
Another alternative is to instead have an oplog to inform the secondaries that the donor shard has bumped the shard version. It has to do this properly both during migration commit and migration recovery during step up.
Note: will probably need something like an extra field to ensure that behavior is backwards compatible.
- depends on
-
SERVER-48446 Make donor shard's secondary pre-emptively refresh filtering cache asynchronously
- Closed