[ 
https://issues.apache.org/jira/browse/DRILL-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Venki Korukanti updated DRILL-809:
----------------------------------

    Attachment: DRILL-809.1.patch

Attaching patch. It also has changes to reset {{allocationMonitor}} whenever 
{{allocationValueCount}} is changed.

> BitVector.allocateNewSafe should check for max of 1 and new 
> allocationValueCount
> --------------------------------------------------------------------------------
>
>                 Key: DRILL-809
>                 URL: https://issues.apache.org/jira/browse/DRILL-809
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Venki Korukanti
>            Assignee: Venki Korukanti
>         Attachments: DRILL-809.1.patch
>
>
> {code}
> allocationValueCount = Math.min(1, (int)(allocationValueCount * 0.9));
> {code}
> This will cause no memory allocated and all subsequent setSafe calls fail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to