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

Error when directly dropping a sharded time-series buckets collection is misleading.

    • Storage Execution
    • Fully Compatible
    • ALL
    • v7.3, v7.0, v6.0
    • Execution Team 2024-02-05

      There is an error in the server code:

      drop collection of a sharded time-series collection is not supported

      … that seems to happen only when trying to drop a sharded buckets collection directly.

      The error’s wording, though, makes it look like the server can’t drop sharded time-series collections at all, even via public API. That isn’t the case.

      The error should instead refer specifically to the buckets. It should also guide the user to how to solve the problem. Maybe something like:

      sharded time-series buckets collections cannot be dropped directly; drop the logical collection instead.

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

              Created:
              Updated:
              Resolved: