accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3222) Durability obtained before tablet null check
Date Fri, 10 Oct 2014 18:32:34 GMT
Josh Elser created ACCUMULO-3222:
------------------------------------

             Summary: Durability obtained before tablet null check
                 Key: ACCUMULO-3222
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3222
             Project: Accumulo
          Issue Type: Sub-task
          Components: tserver
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 1.7.0


The durability for a tablet is obtained before the tablet is checked to ensure it is non-null.

{code:title=TabletServer.java}
Tablet tablet = onlineTablets.get(entry.getKey());
Durability tabletDurability = tablet.getDurability();
if (tablet == null || tablet.isClosed() || sessionCanceled) {
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message