You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2018/02/02 23:47:00 UTC

[jira] [Created] (ACCUMULO-4799) In tablet server start scan authenticates twice

Keith Turner created ACCUMULO-4799:
--------------------------------------

             Summary: In tablet server start scan authenticates twice
                 Key: ACCUMULO-4799
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4799
             Project: Accumulo
          Issue Type: Improvement
    Affects Versions: 1.8.1, 1.7.3
            Reporter: Keith Turner
             Fix For: 1.9.0, 2.0.0


The code that handles a start scan RPC call checks authentication twice.  Each call to authenticate takes a bit of time.  It would be nice if it only did it once.

At [TabletServer line 479|https://github.com/apache/accumulo/blob/rel/1.8.1/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L479] a call to canScan is made which calls authenticate.  Then at [TabletServer line 482|https://github.com/apache/accumulo/blob/rel/1.8.1/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L482] a call to check authorizations is made which also authenticates.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)