GitHub user EdColeman opened a pull request:
https://github.com/apache/accumulo/pull/204
ACCUMULO-4574 Modified TableOperations online to check if table is alâ¦
ACCUMULO-4574 Modified TableOperations online operation to check if table
is already online before executing fate transaction.
When the online command is issued, the fate operation will block if a fate
transaction has locked the table. If
the table is already online, there is no reason to block and then issue the
online operation. This modification
turns the online command into a noop if the table is already online. This
change includes an IT
test that uses a compaction with slow iterator to cause the fate
transaction to lock a table and
then runs the online command - checking that the operation did not block.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/EdColeman/accumulo ACCUMULO-4574
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/accumulo/pull/204.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #204
----
commit 058173b59b8e97503a00ec095a9a4235370a9aaa
Author: Ed Coleman <[email protected]>
Date: 2017-01-23T01:25:58Z
ACCUMULO-4574 Modified TableOperations online to check if table is already
online before executing fate transaction.
When the online command is issued, the fate operation will block if a fate
transaction has locked the table. If
the table is already online, there is no reason to block and then issue the
online operation. This modification
turns the online command into a noop if the table is already online. This
change includes an IT
test that uses a compaction with slow iterator to cause the fate
transaction to lock a table and
then runs the online command - checking that the operation did not block.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---