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

Make the UserCacheInvalidatorJob expect both OID and Timestamp

    • Fully Compatible
    • v4.4
    • Sharding 2020-03-09

      As part of PM-1645 we are trying to move towards unifying all cluster-wide cached information to be stamped with configOpTime (or clusterTime). This has various benefits, but the most important of them is the ability to infer causality due to the ordering of opTimes.

      In this model, the "cache generation" in the authorisation manager would be easier to think of as the opTime of when the last change to the auth data happened. This change makes the UserCacheInvalidatorJob expect both OID and Timestamp so that in later 4.4 releases we can change it to be a Timestamp without backwards compatibility implications.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: