[SERVER-55412] Mirrored reads should propagate the shard version field Created: 22/Mar/21 Updated: 29/Oct/23 Resolved: 30/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.11, 5.0.4, 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Alex Li |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | carry-over, save-for-alex, servicearch-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v5.0, v4.4
|
||||||||||||||||||||||||||||||||
| Sprint: | Service Arch 2021-06-28, Service Arch 2021-07-12, Service Arch 2021-08-09 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 143 | ||||||||||||||||||||||||||||||||
| Story Points: | 4 | ||||||||||||||||||||||||||||||||
| Description |
|
Mirrored reads are not propagating the shardVersion field to the command that it is send to the secondary nodes (e.g. find command ). This causes some performance issues ( The goal of this task is to extend the void appendMirrorableRequest(BSONObjBuilder* bob) function to also propagate the shardVersion field. Affected versions: this issue is in 4.4 and master (the original concern was raised on 4.4). |
| Comments |
| Comment by Githook User [ 28/Oct/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}Message: (cherry picked from commit 03364be4054d3d411c55a5b712e3d0733865eecd) |
| Comment by Githook User [ 20/Oct/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}Message: (cherry picked from commit 03364be4054d3d411c55a5b712e3d0733865eecd) |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Sergi Mateo Bellido [ 02/Aug/21 ] |
|
alex.li: I think that now we can safely close |
| Comment by Githook User [ 30/Jul/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}Message: |
| Comment by Githook User [ 24/Jul/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}Message: Revert " This reverts commit 60a4229054cda93a50265a25d7a8a71ca2763e96. |
| Comment by Githook User [ 23/Jul/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com'}Message: |