Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50217

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

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

      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@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: