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

"Fix" non-time-series bucket collections in tests.

    XMLWordPrintableJSON

Details

    • Storage Execution
    • v7.0, v6.0
    • Execution EMEA Team 2023-10-16, Execution Team 2024-02-19

    Description

      Some of the server's tests create `system.buckets.*` collections that aren't time-series buckets.

      The server's public documentation says that "system." collections are for internal use and should not be created directly. It also says specifically that system.buckets collections are for time-series use. Thus, the server's tests that do this are testing functionality that we don’t expect from users.

      Mongosync uses the server's tests to test its own functionality. We could skip the tests that create non-time-series buckets, but that's unideal because it means less test coverage for mongosync.

      This ticket proposes modification of these server tests either to:

      • use a non-system.buckets name for non-time-series collections
      • create those collections as time-series

      ... so that the server's tests model its expected inputs.

      Attachments

        Activity

          People

            haley.connelly@mongodb.com Haley Connelly
            felipe.gasper@mongodb.com Felipe Gasper
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: