[SERVER-78910] Remove 7.0 hashed shard key index test case in shard_key_index_must_exist.js Created: 12/Jul/23  Updated: 18/Jul/23  Resolved: 18/Jul/23

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

Type: Task Priority: Trivial - P5
Reporter: Ali Mir Assignee: [DO NOT USE] Backlog - Sharding NYC
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding NYC
Participants:

 Description   

SERVER-78253 allowed users to drop a hashed shard key index, and modified some assertions in shard_key_index_must_exist.js. However, this feature was not guarded by a feature flag, and so multiversion suites would fail the test due to differing behavior between 7.0 and 7.1. We added a binary version check in the test to ensure the test passes on regular and multiversion suites. Once last-lts becomes 8.0, we should remove the binary version check and only leave the 7.1 behavior tests.



 Comments   
Comment by Ali Mir [ 18/Jul/23 ]

Since filing this ticket, we've decided to feature flag the ability to drop hashed shard key indexes. As a result, we can use existing feature flag checks to fix the multiversion issues, and have removed the binary version check from the affected test. Closing as Won't Fix.

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