Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80116

Create bucket version enum for tests

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Storage Execution NAMER
    • Fully Compatible
    • Execution NAMR Team 2023-09-04
    • 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,
          };
      

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: