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] [Resolved] (ACCUMULO-3222) Durability obtained before tablet null check
Date Fri, 10 Oct 2014 18:47:33 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-3222.
----------------------------------
    Resolution: Fixed

> 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
>              Labels: coverity
>             Fix For: 1.7.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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