ACCUMULO-1833 Update MTBW close method to match what TSBW is doing (update internal boolean then perform the close)
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/fe8a33e4 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/fe8a33e4 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/fe8a33e4 Branch: refs/heads/ACCUMULO-1833-caching Commit: fe8a33e4e3c39457ea54b2728738c275c15392da Parents: a5c83d6 Author: Josh Elser <josh.el...@gmail.com> Authored: Thu Nov 7 22:21:29 2013 -0500 Committer: Josh Elser <josh.el...@gmail.com> Committed: Thu Nov 7 22:21:29 2013 -0500 ---------------------------------------------------------------------- .../accumulo/core/client/impl/MultiTableBatchWriterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/fe8a33e4/core/src/main/java/org/apache/accumulo/core/client/impl/MultiTableBatchWriterImpl.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/MultiTableBatchWriterImpl.java b/core/src/main/java/org/apache/accumulo/core/client/impl/MultiTableBatchWriterImpl.java index ee11277..d292379 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/impl/MultiTableBatchWriterImpl.java +++ b/core/src/main/java/org/apache/accumulo/core/client/impl/MultiTableBatchWriterImpl.java @@ -123,8 +123,8 @@ public class MultiTableBatchWriterImpl implements MultiTableBatchWriter { } public void close() throws MutationsRejectedException { - bw.close(); this.closed.set(true); + bw.close(); } /**