You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/01/29 00:04:51 UTC

[jira] [Resolved] (ACCUMULO-2140) Race conditions between client operations and upgrade

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

Christopher Tubbs resolved ACCUMULO-2140.
-----------------------------------------

    Resolution: Not A Problem

[~vines], I think you're right.

> Race conditions between client operations and upgrade
> -----------------------------------------------------
>
>                 Key: ACCUMULO-2140
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2140
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> While the master is upgrading, it also has a thread that is responding to client requests. Since the upgrade renames tables and puts them in namespaces, there is a short period of time where table existence checks that rely on the new zookeeper schema for tables are failing to provide the correct answer.
> Example: when the tracer starts, it tries to create a "trace" table, if it doesn't exist. The existence check returns false, so it creates a new trace table in the default namespace, even though there exists an old one that has not yet been moved into the default namespace during the upgrade. This results in two tables with the same name.
> An easy solution would be to fail to respond to client requests until after the upgrade is complete. (eg. wait to start up the MasterClientServiceHandler thread).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)