Add more tests for truncateRange oplog command inside applyOps

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • QE 2026-04-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a truncateRange oplog command is sent as part of an applyOps command, the truncateRange command validation run into a FailedToParse error with message "Unrecognized command in op" when authentication/authorization is enabled. This is intentional, and we do not want to enable users to send a truncateRange oplog command as part of an applyOps command.

      We should have tests to ensure this behavior.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: