Investigate if dropDatabase can provide extra information in the output

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-02-16, CAR Team 2026-03-02, CAR Team 2026-03-16
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the dropDatabase command returns a bare { ok: 1 } reply regardless of whether the database actually existed, for idempotency purposes.

      This means callers have no way to distinguish between "the database was dropped" and "the database never existed in the first place."

      We could investigate enriching the reply with an additional field, e.g.: { ok: 1, dropped: true/false }

            Assignee:
            Tommaso Tocci
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: