[SERVER-35110] Log locations in set_feature_compatibility_version.js where fatal assertions/other errors are expected Created: 21/May/18  Updated: 29/Oct/23  Resolved: 09/Jul/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure, Upgrade/Downgrade
Affects Version/s: 3.6.4, 4.0.0-rc0
Fix Version/s: 3.6.7, 4.0.2, 4.1.1

Type: Task Priority: Major - P3
Reporter: Maria van Keulen Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Sharding 2018-07-02, Sharding 2018-07-16
Participants:
Linked BF Score: 45

 Description   

The set_feature_compatibility_version.js test on the 3.6 branch creates scenarios in which servers are expected to fail or error, such as starting up without a featureCompatibilityVersion document and having a 3.4 binary version node in an FCV 3.6 replica set. Failures of this test are thus more difficult to diagnose because expected errors can be confused for unexpected errors. The test should log when it's about to perform an operation that is expected to fail to disambiguate expected errors from actual bugs. As of SERVER-32909, the start up failure portions of the test in master have been separated into their own file.



 Comments   
Comment by Githook User [ 07/Aug/18 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-35110 Log locations in set_feature_compatibility_version.js where fatal assertions are expected

(cherry picked from commit 4af37b1e6fc10ca11605c8ef0eb9cfd1cf922ec2)
Branch: v3.6
https://github.com/mongodb/mongo/commit/e7b3f4dbcd381adc896ed0d985336886a9ab1921

Comment by Githook User [ 07/Aug/18 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-35110 Log locations in set_feature_compatibility_version.js where fatal assertions are expected

(cherry picked from commit 4af37b1e6fc10ca11605c8ef0eb9cfd1cf922ec2)
Branch: v4.0
https://github.com/mongodb/mongo/commit/aa0062e8aaa5a8273bb33a2afaf8c9cdf5fbede7

Comment by Githook User [ 09/Jul/18 ]

Author:

{'username': 'cheahuychou', 'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com'}

Message: SERVER-35110 Log locations in set_feature_compatibility_version.js where fatal assertions are expected
Branch: master
https://github.com/mongodb/mongo/commit/4af37b1e6fc10ca11605c8ef0eb9cfd1cf922ec2

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