[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724734#comment-17724734
 ] 

ASF subversion and git services commented on ASTERIXDB-3187:
------------------------------------------------------------

Commit 8cfb837ffa001000a02a618b999417c166a651aa in asterixdb's branch 
refs/heads/master from Wail Alkowaileet
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=8cfb837ffa ]

[ASTERIXDB-3187][STO] Clear ByteBuffer position/limit of confiscated pages

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Confiscated pages could have posititon/limit different
from 0/capacity(), respectively. This patch ensures
the ByteBuffers of confiscated pages  are cleared
before returned to LSM bulk loaders

Change-Id: I41081562479412096f812b330111a40e8e6c43a9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17540
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>


> Clear ByteBuffer position/limit of confiscated pages
> ----------------------------------------------------
>
>                 Key: ASTERIXDB-3187
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3187
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: STO - Storage
>    Affects Versions: 0.9.5
>            Reporter: Wail Y. Alkowaileet
>            Assignee: Wail Y. Alkowaileet
>            Priority: Critical
>              Labels: triaged
>             Fix For: 0.9.9
>
>
> Currently, the buffers of confiscated pages could have the wrong 
> position/limit from a previous use. Buffers should be cleared before they're 
> returned to LSM bulk loaders



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to