accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
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
             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.

Tablet tablet = onlineTablets.get(entry.getKey());
Durability tabletDurability = tablet.getDurability();
if (tablet == null || tablet.isClosed() || sessionCanceled) {

This message was sent by Atlassian JIRA

View raw message