Skip to content

Conversation

@awrichar
Copy link
Contributor

@awrichar awrichar commented Mar 7, 2023

Backport of #1208

When persisting an off-chain batch initially received from data exchange or
shared storage, it should always be an insert. If the batch exists, just move
on. Otherwise we may accidentally revert a confirmed batch to its previous
state if it happens to get redelivered.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
@peterbroadhurst peterbroadhurst merged commit ec681f2 into hyperledger:release-1.1 Mar 7, 2023
@peterbroadhurst peterbroadhurst changed the title Replace "UpsertBatch" with "InsertOrGetBatch" v1.1: Replace "UpsertBatch" with "InsertOrGetBatch" Mar 7, 2023
@peterbroadhurst peterbroadhurst deleted the batch-backport branch March 7, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants