diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-09-25 13:24:02 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-10-12 12:02:54 +0300 |
commit | 0d2ea9ff5c3651dd152a258ecae5d9238457cc6a (patch) | |
tree | 77734a717e58075bc30d2c3e306748592bed8e95 /proto/transaction.proto | |
parent | 5ad541682a84f8fb9561f28c37f29f3f5a764c35 (diff) |
transactions: Allow graceful stop of transactions
It is currently only possible to stop transactions by cancelling them,
which will cause all ongoing and future votes on this transaction to
raise errors. But in some cases we need to stop transactions gracefully
without raising errors, which is nothing that can be achieved right now.
This commit implements the first piece of the puzzle to allow for this
use case, which is stopping of transactions. Semantics are mostly the
same as for transaction cancellation, but with proper error handling and
state tracking such that multiple calls to stop will not panic.
Diffstat (limited to 'proto/transaction.proto')
0 files changed, 0 insertions, 0 deletions