Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ledger] (Feature Request) Choose failing behavior for bulk request #1596

Open
igordreher opened this issue Jul 4, 2024 · 0 comments
Open

Comments

@igordreher
Copy link
Contributor

I observed that the _bulk request performs the actions in order until it fails and commits the actions performed.
I would love to be able to choose other behaviors, such as:

  1. Continue. If an action fails to complete in the middle of the array of actions, this option would make it so the ledger would continue to process the subsequent actions.
  2. Rollback. If an action fails to complete, rollback the previous actions in the array and return the failure reason.

image
The image shows that only 2 actions where performed even tough 3 were sent.

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

No branches or pull requests

1 participant