[SERVER-73689] Fix shard key update check in update_stage.cpp to exclude _id queries Created: 06/Feb/23 Updated: 29/Oct/23 Resolved: 28/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jason Zhang | Assignee: | Jason Zhang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding NYC 2023-02-20, Sharding NYC 2023-03-06 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 160 | ||||||||
| Description |
|
Documented here: https://github.com/10gen/mongo/pull/10271#discussion_r1097928283 Replacement updates currently have logic that use the replacement doc for targeting, which would result in _id query replacement updates containing a valid shard version, bypassing the feature guard in update_stage.cpp |
| Comments |
| Comment by Githook User [ 28/Feb/23 ] |
|
Author: {'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}Message: |
| Comment by Githook User [ 27/Feb/23 ] |
|
Author: {'name': 'Uladzimir Makouski', 'email': 'uladzimir.makouski@mongodb.com', 'username': 'umakouski'}Message: Revert " This reverts commit 30d0c50b89881e6970627093bdae476a2fcc338e. |
| Comment by Githook User [ 23/Feb/23 ] |
|
Author: {'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}Message: |