Replies: 6 comments
-
Actually I realize there's some more nuance to the use case I wrote up -- I wrote above that what you'd want is "if any transaction fails, then they are all rolled back", but I think in practice what you want to do if a transaction fails might depend on the situation. If it's a database operation, sure you can rollback (or if it's a change to an S3 object, you can revert the object to a previous version if you have bucket versioning enabled). But for other kinds of operations, you might want to just fail, or add a retry policy, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi, This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Beta Was this translation helpful? Give feedback.
-
Keep
…On Sat, Aug 5, 2023 at 09:04 github-actions[bot] ***@***.***> wrote:
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this
issue as stale for now. It will be closed after 7 days.
Feel free to re-open this issue when there's an update or relevant
information to be added.
Thanks!
—
Reply to this email directly, view it on GitHub
<#2805 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANFVK3PCYDHJ22WHESBDL3XTXO7XANCNFSM6AAAAAAY3RI2VU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Beta Was this translation helpful? Give feedback.
-
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Beta Was this translation helpful? Give feedback.
-
Converting this feature request into a discussion |
Beta Was this translation helpful? Give feedback.
-
Feature Spec
As a user, I would like a way to perform multiple "transactions" in an atomic fashion, so that if any transaction fails, then they are all rolled back.
Pseudocode:
Use Cases
Performing safe, distributed transactions on the cloud when your state is located in multiple places or requires multiple operations. For example, one may want to model that a withdrawal from bank account A succeeds if and only if a deposit to bank account B succeeds.
Implementation Notes
The implementation would heavily depend on which cloud target you are using. For example, on Azure you might be able to use Azure Durable functions, while on other clouds like AWS you might have to use AWS Step Functions or some other combination of services:
Component
Language Design, SDK
Community Notes
Beta Was this translation helpful? Give feedback.
All reactions