ChangeStream can't handle 'drop' event

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.8.2
    • Affects Version/s: 3.8.1
    • Component/s: Change Streams
    • None
    • Environment:
      MongoDB server 4.0.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MongoDB server 4.0.1 sends 'drop' event in change stream.

      But OperationType class can't handle 'drop' event, and throws IllegalArgumentException.

      It should support 'drop' operation type. And I think it should support 'unknown' type for fail safe purpose.

       

      And when the exception occurs in ChangeStreamBatchCursor.convertResults(), other events following 'drop' event (like as 'invalidate') is not handled(dropped), so they are not notified to the application.

       

            Assignee:
            Ross Lawley
            Reporter:
            Takuya Murakami
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: