[SERVER-66660] Exclude unsupported test cases in 5.3 version from change_stream_no_orphans.js Created: 23/May/22  Updated: 29/Oct/23  Resolved: 24/May/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 6.0.0-rc6
Fix Version/s: 6.0.0-rc8

Type: Task Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-05-30
Participants:
Linked BF Score: 161

 Description   

Starting from 6.0 version, applyOps entities are flagged as fromMigrate when the operation involves orphaned document (see SERVER-65858).

Multiversion suites that mix 5.3 and 6.0 binaries cause this test to fail as previous versions don't set fromMigrate.

The possible solutionsĀ are:

  • Restrict the whole test execution to 6.0 and higher (i.e., requires_fcv_60)
  • Split the file so that just the unsupportedĀ cases are restricted to 6.0


 Comments   
Comment by Githook User [ 24/May/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-66660 Exclude unsupported test cases in 5.3 version from change_stream_no_orphans.js
Branch: v6.0
https://github.com/mongodb/mongo/commit/c8d9624ca63b4610e8e7831a5c369c4b604289d2

Comment by Antonio Fuschetto [ 24/May/22 ]

Considering that the 5.3 version is nearing the end of life in Atlas and that splitting this test into two files would require a lot of duplication (same sharded cluster, utility functions, etc.), I prefer to restrict the test execution to 6.0 and higher.

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