[ https://issues.apache.org/jira/browse/PHOENIX-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181474#comment-16181474 ]
James Taylor commented on PHOENIX-4214: --------------------------------------- Fails on 4.x-HBase-1.1 branch with: {code} [INFO] Running org.apache.phoenix.execute.UpsertSelectOverlappingBatchesIT [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 125.877 s <<< FAILURE! - in org.apache.phoenix.execute.UpsertSelectOverlappingBatchesIT [ERROR] testSplitDuringUpsertSelect(org.apache.phoenix.execute.UpsertSelectOverlappingBatchesIT) Time elapsed: 41.12 s <<< FAILURE! junit.framework.AssertionFailedError: Waiting timed out after [30,000] msec at org.apache.phoenix.execute.UpsertSelectOverlappingBatchesIT.testSplitDuringUpsertSelect(UpsertSelectOverlappingBatchesIT.java:209) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] UpsertSelectOverlappingBatchesIT.testSplitDuringUpsertSelect:209 Waiting timed out after [30,000] msec {code} > Scans which write should not block region split or close > -------------------------------------------------------- > > Key: PHOENIX-4214 > URL: https://issues.apache.org/jira/browse/PHOENIX-4214 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.12.0 > Reporter: Vincent Poon > Assignee: Vincent Poon > Attachments: PHOENIX-4214-4.x-HBase-0.98_v1.patch, > PHOENIX-4214.master.v1.patch, splitDuringUpsertSelect_wip.patch > > > PHOENIX-3111 introduced a scan reference counter which is checked during > region preSplit and preClose. However, a steady stream of UPSERT SELECT or > DELETE can keep the count above 0 indefinitely, preventing or greatly > delaying a region split or close. > We should try to avoid starvation of the split / close request, and > fail/reject queries where appropriate. -- This message was sent by Atlassian JIRA (v6.4.14#64029)