[SERVER-77230] Retry search/planShardedSearch commands when there is a network error Created: 17/May/23 Updated: 29/Oct/23 Resolved: 09/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 6.0.7, 7.0.0-rc4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Xiaobo Zhou | Assignee: | George Wangensteen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Integration
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v7.0, v6.0
|
||||
| Sprint: | Service Arch 2023-05-29, Service Arch 2023-06-12 | ||||
| Participants: | |||||
| Description |
|
This is required by hot-restart support in Search Envoy. (CLOUDP-175049) The implementation need to be backported to 6.0.
If a search/planShardedSearch command fails with a network error (i.e. connection closed before mongos/mongod receives a response), the command will be retried at least once.
The retry loop will be applied to all the search/planShardedSearch requests. No other protocol changes are required. |
| Comments |
| Comment by Githook User [ 14/Jun/23 ] |
|
Author: {'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}Message: (cherry picked from commit b0c53a92071e336d67425aba067710d62786be76) |
| Comment by Githook User [ 13/Jun/23 ] |
|
Author: {'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}Message: (cherry picked from commit b0c53a92071e336d67425aba067710d62786be76) |
| Comment by Githook User [ 08/Jun/23 ] |
|
Author: {'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}Message: |