[SERVER-33260] Log more helpful messages for featureCompatibilityVersion-related IncompatibleServerVersion errors Created: 11/Feb/18  Updated: 29/Oct/23  Resolved: 28/Feb/18

Status: Closed
Project: Core Server
Component/s: Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Maria van Keulen Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-03-12
Participants:

 Description   

When a mongos/mongod cannot connect to another node due to incompatible wireVersion that is intentional due to featureCompatibilityVersion, we log a generic error message like “remote host has incompatible wire version: IncompatibleServerVersion: Server min and max wire version are incompatible (6,6) with client min wire version (5,5)”. One idea to make this error message more informative is to provide a dochub link to the upgrade/downgrade documentation in case a user encounters it due to failing to upgrade one of their binaries.



 Comments   
Comment by Githook User [ 28/Feb/18 ]

Author:

{'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao', 'username': 'xy24'}

Message: SERVER-33260 Fix format of FCV-related IncompatibleServerVersion error messages
Branch: master
https://github.com/mongodb/mongo/commit/cfe9d2477fab36aa57ccd2f63206955a248cf266

Comment by Githook User [ 28/Feb/18 ]

Author:

{'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao', 'username': 'xy24'}

Message: SERVER-33260 Log more helpful messages for FCV-related IncompatibleServerVersion errors
Branch: master
https://github.com/mongodb/mongo/commit/cc4cb29486a87598d7b490c53712d06085e5cf91

Generated at Thu Feb 08 04:32:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.