[ https://issues.apache.org/jira/browse/HBASE-26856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558844#comment-17558844 ]
Hudson commented on HBASE-26856: -------------------------------- Results for branch branch-2 [build #578 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/578/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (x) {color:red}-1 general checks{color} -- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/578/General_20Nightly_20Build_20Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/578/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/578/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk11 hadoop3 checks{color} -- For more information [see jdk11 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/578/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > BufferedDataBlockEncoder.OnheapDecodedCell value can get corrupted > ------------------------------------------------------------------ > > Key: HBASE-26856 > URL: https://issues.apache.org/jira/browse/HBASE-26856 > Project: HBase > Issue Type: Bug > Reporter: Mohammad Arshad > Assignee: Mohammad Arshad > Priority: Major > > In our production cluster we observed the cell value is modified after > successful scanner read. After analyzing we observed OnheapDecodedCell is not > created properly. > We create OnheapDecodedCell with complete valAndTagsBuffer underlying array. > {code:java} > return new OnheapDecodedCell(Bytes.copy(keyBuffer, 0, this.keyLength), > currentKey.getRowLength(), currentKey.getFamilyOffset(), > currentKey.getFamilyLength(), > currentKey.getQualifierOffset(), currentKey.getQualifierLength(), > currentKey.getTimestamp(), currentKey.getTypeByte(), > valAndTagsBuffer.array(), > valAndTagsBuffer.arrayOffset() + vOffset, this.valueLength, > memstoreTS, tagsArray, > tOffset, this.tagsLength); > {code} > Here we are passing valAndTagsBuffer.array() for value extraction. > The underlying array will be modified if it is altered anywhere. -- This message was sent by Atlassian Jira (v8.20.7#820007)