Change role graph/auth op observer to handle $v:2 delta updates

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2020-08-24, Query 2020-09-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When we start logging modifier-style updates using the $v:2 delta format, we'll need to update any code which parses or otherwise examines "update" oplog entries to handle both the $v:1 and $v:2 format. This includes the code which maintains the auth role graph, specifically here.

      At first glance this code simply re-applies the update to an in-memory version of the document.

              Assignee:
              Ian Boros
              Reporter:
              Ian Boros
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: