[SERVER-42919] Abort mongos upon IncompatibleWithUpgradedServer error Created: 20/Aug/19  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Networking, Sharding
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-42982 Unblacklist multiVersion/upgrade_down... Closed
related to SERVER-43835 ReplicaSetMonitor converts all failed... Closed
is related to SERVER-35688 Futurize the RSM implementation Closed
Assigned Teams:
Service Arch
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Service Arch 2019-09-09, Service Arch 2019-09-23, Service Arch 2019-10-07, Service Arch 2019-10-21, Service Arch 2019-11-18, Service Arch 2019-12-02, Service Arch 2020-01-13, Service Arch 2020-01-27, Service Arch 2020-02-10, Service Arch 2020-02-24, Service Arch 2020-03-09, Service Arch 2020-03-23, Service Arch 2020-04-06, Service arch 2020-04-20
Participants:

 Description   

Before SERVER-35688, the ShardingTaskExecutor was able to observe IncompatibleWithUpgradedServer, thus preventing indefinite waits when a mongos connected to a newer mongod with a higher fcv. That ticket changed the RSM so that rather than using dbclient to do scans, we instead used a task executor, which in turn changed things so that rather than failing, we repeatedly retry the connect.

We should probably do one of:

  • move the check that's currently in the ShardingTaskExecutor into some other lib that we can link into the regular task executor, so that all task executors in sharding exhibit the correct behavior
  • change the RSM to have a network connect hook which crashes on that status (in sharding)

I'm on the fence which is less invasive


Generated at Thu Feb 08 05:01:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.