RE: MerkleTree.RowHash maybe a bug.

2010-11-11 Thread Stu Hood
November 11, 2010 2:19am To: d...@cassandra.apache.org, user@cassandra.apache.org Subject: MerkleTree.RowHash maybe a bug. Hi JE, 0.6.6: org.apache.cassandra.service.AntiEntropyService I found the rowHash method uses "row.buffer.getData()" directly. Since row.buffer.getData() is a by

MerkleTree.RowHash maybe a bug.

2010-11-11 Thread Schubert Zhang
Hi JE, 0.6.6: org.apache.cassandra.service.AntiEntropyService I found the rowHash method uses "row.buffer.getData()" directly. Since row.buffer.getData() is a byte[], and there may have some junk bytes in the end by the buffer, I think we should use the exact length. private MerkleTree.