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

Changed the API to support binary transaction #1731

Merged

Conversation

eifrah-aws
Copy link
Contributor

@eifrah-aws eifrah-aws commented Jun 30, 2024

This PR introduces the binary API for Transactions + changes numerous commands (TXN commands) to accept either String or GlideString

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eifrah-aws eifrah-aws requested a review from yulazariy June 30, 2024 17:13
@Yury-Fridlyand Yury-Fridlyand added the java issues and fixes related to the java client label Jun 30, 2024
In addition, the following commands are modified to support it:

customCommand, echo, ping, del, get, getdel, getex, set, append, mget, mset, msetnx, incr, incrBy, incrByFloat, decr, decrBy, strlen, setrange
, getrange, hget, hset, hsetnx, hdel, hlen, hvals, hmget, spopCount
@eifrah-aws eifrah-aws force-pushed the java-transaction-binary-base-change branch from 7fba7ef to 3e906d4 Compare July 1, 2024 09:07
@eifrah-aws eifrah-aws marked this pull request as ready for review July 1, 2024 09:09
@eifrah-aws eifrah-aws requested a review from a team as a code owner July 1, 2024 09:09
@eifrah-aws eifrah-aws requested a review from jduo July 1, 2024 09:41
Copy link
Contributor

@yulazariy yulazariy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good commit

@eifrah-aws eifrah-aws merged commit 111de9f into valkey-io:main Jul 1, 2024
17 checks passed
@eifrah-aws eifrah-aws deleted the java-transaction-binary-base-change branch July 1, 2024 15:07
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jul 16, 2024
* Changed the API to support binary transaction

In addition, the following commands are modified to support it:

customCommand, echo, ping, del, get, getdel, getex, set, append, mget, mset, msetnx, incr, incrBy, incrByFloat, decr, decrBy, strlen, setrange
, getrange, hget, hset, hsetnx, hdel, hlen, hvals, hmget, spopCount

* Temporarily disable large-values tests

* ArgsBuilder now collects all arguments and returns `GlideString[]`
Restored large value tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants