You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
admission: replace GrantCoordinator with storeGrantCoordinator
Almost all the functionality of GrantCoordinator was unused and the
unnecessary abstractions were confusing. Only the requester's
(behind storeRequester, and the kvStoreGranter.*Requester fields)
are now abstracted out for testing.
The confusing locking is replaced by kvStoreTokenGranter having
its own mutex. A few fields were erroneously not inside
kvStoreTokenGranter.coordMu (even though they were always accessed
using the mutex, so there wasn't a bug), and that is fixed too.
The testdata changes are only an elimination of the unnecessary
prefix related to grant chaining when printing the state of the
GrantCoordinator: there was never any grant chaining for the store
GrantCoordinator.
Epic: none
Release note: None
0 commit comments