Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-461

Server 7.0 allows dropping nonexistent collections

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • 2

      Starting server 7.0, the outcome of dropping nonexistent collections is successful. We should triage how to proceed with the server change. Probably follow the server behavior and allow deletion of nonexistent collections. To mimic the behavior for servers prior to 7.0, we should catch `ns not found` errors and return true in such cases. Or add skipIfServerVersion(testServer, '< 7.0') logic to vscode tests.

            Unassigned Unassigned
            alena.khineika@mongodb.com Alena Khineika
            0 Vote for this issue
            3 Start watching this issue