Change Stream is not working with on-demand materialized views

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 5.0.7
    • Component/s: None
    • None
    • ALL
    • Hide
      1. Create collection C1
      2. Create the on-demand materialized view MV1 on the C1 with all matched
      3. Watch MV1
      4. Insert something in C1
      5.  

      Expected:

      The change in MV1 is caught by the watcher

      Actual:

      The change in MV1 is NOT caught by the watcher

      Show
      Create collection C1 Create the on-demand materialized view MV1 on the C1 with all matched Watch MV1 Insert something in C1   Expected : The change in MV1 is caught by the watcher Actual : The change in MV1 is NOT caught by the watcher
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The same code works with a regular Mongo collection but doesn't catch any events happening to the on-demand materialized view.

       

      I found the test which checks that the Change Stream is not supported for normal views.

      However, I didn't find any limitations/restrictions to using Change Streams with on-demand materialized views.

       

              Assignee:
              Unassigned
              Reporter:
              Kos Chaus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: