accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2331) TableConfiguration should override invalidateCache
Date Thu, 06 Feb 2014 15:54:10 GMT

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

ASF subversion and git services commented on ACCUMULO-2331:
-----------------------------------------------------------

Commit 050ff39e67204dfd1959d1a31efb34fefec124e2 in branch refs/heads/2331-tableconfig from
[~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=050ff39 ]

ACCUMULO-2331 Remove unnecessary attempt at polling for configuration updates.

getTableProperties should flush the ZooCache before pulling the configuration
values from it and thus force communication to ZooKeeper. As such, there should
be no need to try to code around this.


> 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.1.5#6160)

Mime
View raw message