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

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

    • Storage Execution
    • Fully Compatible
    • v7.3, v7.0, v6.0
    • Execution EMEA Team 2023-10-16, Execution Team 2024-02-19, Execution Team 2024-04-01, Execution Team 2024-04-15
    • 9

      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.

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

              Created:
              Updated:
              Resolved: