HBASE-16609 Fake cells EmptyByteBufferedCell created in read path not implementing SettableSequenceId (Yu Sun)

This commit is contained in:
tedyu 2016-09-12 08:53:22 -07:00
parent 0860bdb675
commit 8290b2c8fa
1 changed files with 5 additions and 1 deletions

View File

@ -1974,7 +1974,11 @@ public final class CellUtil {
* These cells are used in reseeks/seeks to improve the read performance.
* They are not real cells that are returned back to the clients
*/
private static abstract class EmptyByteBufferedCell extends ByteBufferedCell {
private static abstract class EmptyByteBufferedCell extends ByteBufferedCell implements SettableSequenceId {
@Override
public void setSequenceId(long seqId) {
// Fake cells don't need seqId, so leaving it as a noop.
}
@Override
public byte[] getRowArray() {