Convert timeseries_writes_check_buckets_coll_is_valid.js to a unit test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.2.0-rc0
    • Component/s: Catalog
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-07-07, CAR Team 2025-07-21
    • None
    • 3
    • TBD
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      The jstests/noPassthrough/timeseries/create/timeseries_writes_check_buckets_coll_is_valid.js test uses a failpoint to create a system.buckets collection with invalid options bypassing the usual validations done by createCollection. This is difficult to adapt to the needs of viewless timeseries collections, so we should rather test this with a C++ unit test which allows straightforward manipulation of the collection options from the catalog without depending on failpoints.

              Assignee:
              Joan Bruguera Micó
              Reporter:
              Joan Bruguera Micó
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: