[
https://issues.apache.org/jira/browse/PHOENIX-6305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262050#comment-17262050
]
ASF GitHub Bot commented on PHOENIX-6305:
-----------------------------------------
stoty commented on a change in pull request #1074:
URL: https://github.com/apache/phoenix/pull/1074#discussion_r554083743
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
##########
@@ -260,7 +260,9 @@ void commitBatch(Region region, List<Mutation> mutations,
long blockingMemstoreS
Mutation[] mutationArray = new Mutation[mutations.size()];
// When memstore size reaches blockingMemstoreSize we are waiting 3
seconds for the
// flush happen which decrease the memstore size and then writes allowed
on the region.
- for (int i = 0; blockingMemstoreSize > 0 && region.getMemStoreHeapSize()
> blockingMemstoreSize && i < 30; i++) {
+ for (int i = 0; blockingMemstoreSize > 0
+ && region.getMemStoreHeapSize() +
region.getMemStoreOffHeapSize() > blockingMemstoreSize
Review comment:
I originally thought that this bug was introduced when we adopted to the
API change in HBASE-18294, but on closer examination it it was fine.
It was broken recently by the PHOENIX-6067 indexing rebase.
We are really just restoring the HBase 2 semantics that were broken by
PHOENIX-6067.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Throttling decision does not take offheap memstore size into account
> --------------------------------------------------------------------
>
> Key: PHOENIX-6305
> URL: https://issues.apache.org/jira/browse/PHOENIX-6305
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Affects Versions: 5.0.0
> Reporter: Ankit Singhal
> Assignee: Istvan Toth
> Priority: Major
> Fix For: 5.1.0
>
>
> This a regression from PHOENIX-6067
--
This message was sent by Atlassian Jira
(v8.3.4#803005)