Details
-
Bug
-
Resolution: Fixed
-
Major
-
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
-
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
For Gerrit Dashboard: MB-32685 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
103729,2 | MB-32685: Delay updating RBAC db revision number | vulcan | kv_engine | Status: MERGED | +2 | +1 |
104819,3 | MB-32840, MB-32685: Merge vulcan->alice | alice | kv_engine | Status: MERGED | +2 | +1 |
104879,5 | Merge remote-tracking branch 'couchbase/alice' | master | kv_engine | Status: MERGED | +2 | +1 |
105642,3 | MB-33200: Update the current db rev as part of update | master | kv_engine | Status: MERGED | +2 | +1 |