Re: Read write set mismatch error while processing parallel transactions #fabric-chaincode #fabric


Mark Lewis
 

Transactions that read or modify ledger keys that are modified by other transactions in parallel will suffer MVCC read conflicts. There are details on how this works in the documentation here:

https://hyperledger-fabric.readthedocs.io/en/latest/readwrite.html

You should keep this in mind when modelling your ledger data. Some sequencing of transactions in cases where conflicts can't be avoided might help. Implementing recovery / retry logic for transactions when these conflicts occur is important for a robust application.

Join fabric@lists.hyperledger.org to automatically receive all group messages.