[SERVER-60550] migration_util function may miss some response errors when submitting remote commands through sendToRecipient() Created: 08/Oct/21 Updated: 29/Oct/23 Resolved: 18/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.3, 4.4.9, 5.1.0-rc0 |
| Fix Version/s: | 5.2.0, 4.4.11, 5.0.4, 5.1.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Paolo Polato | Assignee: | Paolo Polato |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.1, v5.0, v4.4
|
||||||||
| Sprint: | Sharding EMEA 2021-10-18, Sharding EMEA 2021-11-01 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 24 | ||||||||
| Description |
|
In BFG-872835 it could be observed the following sequence:
The root cause of this is considered to lie in the use of Shard::CommandResponse::getEffectiveStatus() for processing remote errors - for write operation requests getStatusFromWriteCommandReply() is generally preferred. |
| Comments |
| Comment by Githook User [ 28/Oct/21 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 21/Oct/21 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: (cherry picked from commit 669a074979de6286f82d39a70b1070a932aa7f76) |
| Comment by Githook User [ 18/Oct/21 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: (cherry picked from commit 669a074979de6286f82d39a70b1070a932aa7f76) |
| Comment by Githook User [ 14/Oct/21 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |