Convert timeseries_writes_check_buckets_coll_is_valid.js to a unit test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.2.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-07-07
    • 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:
            1 Start watching this issue

              Created:
              Updated: