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

Rework transaction response handling in glide core and all clients #1397

Open
2 tasks done
Yury-Fridlyand opened this issue May 9, 2024 · 0 comments
Open
2 tasks done

Comments

@Yury-Fridlyand
Copy link
Collaborator

Describe the feature

Glide receives response for all commands in a transaction, but ignores all of them if an error present and returns that error (only the first error if there are multiple of them).
It should return all responses along with all errors received.

Use Case

127.0.0.1:6379> multi
OK
127.0.0.1:6379(TX)> get 1
QUEUED
127.0.0.1:6379(TX)> get hash
QUEUED
127.0.0.1:6379(TX)> ping pong pang
QUEUED
127.0.0.1:6379(TX)> exec
1) (nil)
2) (error) WRONGTYPE Operation against a key holding the wrong kind of value
3) (error) ERR wrong number of arguments for 'ping' command

Proposed Solution

No response

Other Information

This feature may depend on tuple type support #1188

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Client version used

N/A

Environment details (OS name and version, etc.)

N/A

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