risinglight icon indicating copy to clipboard operation
risinglight copied to clipboard

WIP storage: checksum BlockType in block header

Open hawkingrei opened this issue 2 years ago • 1 comments

close #247

Signed-off-by: Weizhen Wang [email protected]

hawkingrei avatar Mar 02 '22 17:03 hawkingrei

OK,let me research it.

I think calculate checksum field by field is not very elegant because we may need to add more fields later. Checksum a whole chunk of bytes may be better

I think we may need to change the encoding of block headers (e.g., put block type and checksum at the end?) in order to support this.

Originally posted by @skyzh in https://github.com/risinglightdb/risinglight/issues/247#issuecomment-1024847607

hawkingrei avatar Mar 03 '22 00:03 hawkingrei