I uploaded a skeleton implementation for this jira on reviewboard. There is some code which needs to be filled in, which should answer the question:
- What to do when the checksums do not match?
To make sure we don't hit performance too much, comparison of checksums is done only during replay. As of now, this is what is done:
- The Put TransactionEventRecord header now has an optional checksum field. (As of now, the code to enable checksumming has not been added).
- During replay, the checksum of the event body is compared to the checksum in the header. What to do if this does not match - TBD.