You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/10/10 20:47:33 UTC
[jira] [Resolved] (ACCUMULO-3222) Durability obtained before tablet
null check
[ 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)