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] [Commented] (ACCUMULO-2331) TableConfiguration should override invalidateCache
Date Mon, 17 Mar 2014 22:04:54 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938453#comment-13938453
] 

Josh Elser commented on ACCUMULO-2331:
--------------------------------------

bq. thinks this may be related

At the very least, it's a change that happened between 1.5.0 and 1.5.1. Certainly suspect.
Giving a quick glance, I don't think the current synchronization is sufficient to guarantee
that an NPE isn't hit.

> TableConfiguration should override invalidateCache
> --------------------------------------------------
>
>                 Key: ACCUMULO-2331
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2331
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.5.1, 1.6.0
>
>
> In trying to get ACCUMULO-1908 resolved, I noticed that I had a new test failure in which
the test appeared to not see updates to a table's properties.
> Upon further investigation, I noticed that the server-side impl in ClientServiceHandler
was calling invalidateCache on the AccumuloConfiguration it was passed (which is actually
a TableConfiguration). However, since this method isn't implemented in TableConfiguration,
the cache wasn't cleared and the client saw stale data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message