Github user chiastic-security commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/118#discussion_r41041802
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/schema/PMetaDataImpl.java ---
    @@ -160,7 +160,7 @@ public PMetaDataCache cloneMinusOverage(long overage) {
                         newCache.put(tableRef.table.getKey(), new 
PTableRef(tableRef));
                         toRemove.add(tableRef);
                         toRemoveBytes += tableRef.estSize;
    -                    if (toRemoveBytes - toRemove.peekLast().estSize > 
overage) {
    +                    while (toRemoveBytes - toRemove.peekLast().estSize >= 
overage) {
    --- End diff --
    
    I'll look at those (though not till Monday: I'm in the UK and about to head 
home).


---
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.
---

Reply via email to