[SERVER-49420] Tag jstests/core/doc_validation.js and jstests/core/bypass_doc_validation.js with 'requires_fcv_46' Created: 10/Jul/20  Updated: 29/Oct/23  Resolved: 14/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Query 2020-07-13, Query 2020-07-27
Participants:
Linked BF Score: 50

 Description   

Initially, this ticket tracked the work to make the assertion about the presence of the 'errInfo' field in 'doc_validation.js' only when we know that the mongods in a sharded cluster accepting writes are upgraded to 4.6 as this would give us the multiversion test coverage desired where we verify that the errInfo field is propagated from a 4.6 shard primary to a 4.4 mongos correctly. However, when the two named tests are run in the 'sharding_jscore_multiversion_passthrough' suite, the 2 shards are always in a mixed version configuration (that is, one shard always has a 4.6 primary and the other is always a 4.4 primary). As such, neither test can be configured in such a way to achieve the desired coverage and therefore, the tests should be blacklisted from the multiversion suites and a followup ticket should be filed to write a targeted test that achieves the desired coverage.



 Comments   
Comment by Githook User [ 14/Jul/20 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-49420 Tag jstests/core/doc_validation.js and jstests/core/bypass_doc_validation.js with 'requires_fcv_46'
Branch: master
https://github.com/mongodb/mongo/commit/51604da9f47a7d58a72cf58cbfb28c4a2340642e

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