drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [drill] vvysotskyi opened a new pull request #2291: DRILL-7986: Drill crashes when using the streaming connection with arrays
Date Mon, 09 Aug 2021 21:19:56 GMT

vvysotskyi opened a new pull request #2291:
URL: https://github.com/apache/drill/pull/2291


   # [DRILL-7986](https://issues.apache.org/jira/browse/DRILL-7986): Drill crashes when using
the streaming connection with arrays
   
   ## Description
   When copying data from incoming batch to row set, `SingleVectorBufferAccessor` was holding
outdated byte buffer that belonged to value vector from the previous batch. It caused JVM
crashes when Drill tried to access the data from the outdated buffer.
   
   Existing API assumed to call `BufferAccessor.rebind()` method every time buffer from one
vector to another one was exchanged but exchange process cannot be controlled by row set API,
and since we already hold `VectorAccessor` that has value vector with actual byte buffer,
this method became excessive.
   
   ## Documentation
   NA
   
   ## Testing
   Checked manually, no unit test is added since the issue is reproduced coincidentally for
and for a specific set of conditions.
   


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

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message