[SERVER-57136] Incompatible wire version error on secondary shutdown in sharded cluster Created: 21/May/21 Updated: 29/Oct/23 Resolved: 09/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.4.6 |
| Fix Version/s: | 4.4.7, 5.0.0-rc1, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Adum (Inactive) | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v5.0, v4.4
|
||||||||||||||||||||||||||||||||||||
| Steps To Reproduce: | 1. Start a sharded cluster, e.g. with mlaunch init --replicaset --sharded 1 --nodes 3 --mongos 1 This should produce the following error from the server on the next find operation: Node repro script
Python repro script
|
||||||||||||||||||||||||||||||||||||
| Sprint: | Sharding 2021-06-14 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||||||
| Description |
|
On a MongoDB v4.4.1+ sharded cluster, when a secondary is taken down, certain operations that should succeed result in an error from the server when the connection string includes readPreference=secondary&maxStalenessSeconds=90. The error looks to be a result of |
| Comments |
| Comment by Githook User [ 09/Jun/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: (cherry picked from commit d7bd51c05a7ac49afd7ed3b394fde123383af6de) |
| Comment by Githook User [ 08/Jun/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: (cherry picked from commit d7bd51c05a7ac49afd7ed3b394fde123383af6de) |
| Comment by Githook User [ 08/Jun/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: |