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

Add useful primitives to bucket_catalog unit tests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Storage Execution 2025-03-03, Storage Execution 2025-03-31, Storage Execution 2025-04-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This behavior is simple to describe, but potentially tedious to setup correctly. However, it would open up many avenues to expand our unit testing of the bucket catalog which is hard to reason about. Examples:

      • Fill bucket with measurements (without closing it)
      • Fill N buckets in the same stripe (without closing them)
      • Create N buckets in the same stripe
        • Essentially, make the bucket -> stripe hashing system easy to work with.

      Scenarios that could use these primitives:

      • An insert leads to the closing of many buckets with various bucket catalog APIs
        • Are all these APIs resilient to one versus many buckets in various states?
      • Reproduce high stripe contention states and perform operations

            Assignee:
            stephanie.eristoff@mongodb.com Stephanie Eristoff
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None