Re: hasTablePermission vs hasCachedTablePermission

2020-10-23 Thread Christopher
It's kind of hard to tell because this code is pretty old and has a lot of technical debt accrued over time, but it looks like the original developer wanted to provide a mechanism for a user-pluggable implementation to cache operations, but we also wanted to ask that implementation not to use a

Re: hasTablePermission vs hasCachedTablePermission

2020-10-23 Thread Mike Miller
This interface is not technically a part of the user API (see https://accumulo.apache.org/api/) but it is a component that was designed to be pluggable before Accumulo had a clean API. There are a lot of issues with these pluggable interfaces, one of them being that they use internal components

hasTablePermission vs hasCachedTablePermission

2020-10-23 Thread mhd wrk
Looking at PermissionHandler , I'm wondering why caching is not considered just as an implementation detail. What's the need for differentiating between