You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ka...@apache.org on 2019/10/16 20:18:54 UTC
[phoenix] branch 4.14-HBase-1.4 updated: PHOENIX-5532 Index write
failure does not cleanup pendingRows entries
This is an automated email from the ASF dual-hosted git repository.
kadir pushed a commit to branch 4.14-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.14-HBase-1.4 by this push:
new c9ef951 PHOENIX-5532 Index write failure does not cleanup pendingRows entries
c9ef951 is described below
commit c9ef951f03961aee9abf82ddef175d3923deae3f
Author: Kadir <ko...@salesforce.com>
AuthorDate: Wed Oct 16 12:03:12 2019 -0700
PHOENIX-5532 Index write failure does not cleanup pendingRows entries
---
.../main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java
index 1996d9a..993ff4b 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java
@@ -787,8 +787,8 @@ public class IndexRegionObserver extends BaseRegionObserver {
metricSource.incrementPreIndexUpdateFailures();
// Remove all locks as they are already unlocked. There is no need to unlock them again later when
// postBatchMutateIndispensably() is called
- context.rowLocks.clear();
removePendingRows(context);
+ context.rowLocks.clear();
rethrowIndexingException(e);
}
throw new RuntimeException(