crclark / foundationdb-haskell

Haskell FFI bindings to the FoundationDB C API
https://crclark.github.io/foundationdb-haskell/
BSD 3-Clause "New" or "Revised" License
36 stars 5 forks source link

Optionally return conflicting key ranges on commit failure #43

Closed crclark closed 3 years ago

crclark commented 3 years ago

Adds a new option to TransactionConfig that will fetch conflicting key ranges if a commit fails due to a conflict. The conflicting key ranges are returned in a new field added to the NotCommitted error constructor.