[SERVER-80116] Create bucket version enum for tests Created: 15/Aug/23  Updated: 29/Oct/23  Resolved: 28/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Storage Execution NAMER
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-09-04
Participants:
Linked BF Score: 35

 Description   

We check against `control.version` being `1` or `2`. This isn't clear for those unfamiliar with the versioning scheme. Instead we can create a enum in the time-series library:

 

    const BucketVersion = {
        kUncompressed: 1,
        kCompressed: 2,
    };



 Comments   
Comment by Githook User [ 28/Aug/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-80116 Create bucket version enum for tests
Branch: master
https://github.com/mongodb/mongo/commit/46c911efe3928dbacf869f9b37c2690fe95336c9

Comment by xgen-buildbaron-user [ 26/Aug/23 ]

Ticket re-opened due to revert. jstestfuzz_replication_write_conflicts began a consistent failure of jstestfuzz_replication_write_conflicts

Comment by Githook User [ 26/Aug/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-80116 Create bucket version enum for tests"

This reverts commit 4dd030f055b42a16832157d09c23d3e3a144f478.
Branch: master
https://github.com/mongodb/mongo/commit/6e99431b8199bbb9b57c00e5f279b0c0a4baa49a

Comment by Githook User [ 25/Aug/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-80116 Create bucket version enum for tests
Branch: master
https://github.com/mongodb/mongo/commit/4dd030f055b42a16832157d09c23d3e3a144f478

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