Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-32685

RBAC privilege database should not update the global generation counter as part of the constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.4, 6.0.2
    • 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.5.0, 5.5.1, 5.5.2, 5.5.3, 6.0.0, 6.0.1
    • memcached
    • Untriaged
    • Unknown

    Description

      If someone tries to run privilege checks at this time they'll get AUTH_STALE, and the code tries to rebuild the privilege context and rerun the check up to 100 times before it gives up and returns AUTH_STALE. 

      For clients who supports XERROR this isn't a huge problem as they know how to deal with AUTH_STALE being returned, but the other clients gets disconnected.

      (there is a race between when we started to run the privilege check and the speed of parsing the RBAC database)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anitha.kuberan Anitha Kuberan
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty