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

[Merge to main] Support transactions for JSON commands #2862

Merged
merged 17 commits into from
Jan 2, 2025

Conversation

yipin-chen
Copy link
Collaborator

@yipin-chen yipin-chen commented Dec 24, 2024

Issue link

This Pull Request is linked to issue (URL): #2683

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Commits will be squashed upon merging.

avifenesh and others added 6 commits December 23, 2024 22:11
* addresed comments

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

* Go: add allow_non_covered_slots to ClusterScan and related commands

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

* feat: Implement continuous slot scanning until next unscanned slot

Signed-off-by: jhpung <jhpung.dev@gmail.com>

* fix: improve slot scanning logic when address not found

Signed-off-by: jhpung <jhpung.dev@gmail.com>

* add allowNonCoveredSlots option to ScanOptions and update GlideClusterClient

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

* test: add tests for GlideClusterClient scan with allowNonCoveredSlots option

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

* refactor: enhance cluster readiness check and improve error handling in scan tests

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

---------

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
Signed-off-by: jhpung <jhpung.dev@gmail.com>
Co-authored-by: jhpung <jhpung.dev@gmail.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
* update script

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
* Go: Add ZPopMin and ZPopMax

Signed-off-by: TJ Zhang <tj.zhang@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
* Node: Add Transaction for JSON commands

---------

Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Signed-off-by: Jonathan Louie <Jonathan.Louie@improving.com>
Co-authored-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Co-authored-by: Jonathan Louie <Jonathan.Louie@improving.com>
* Add support for JSON commands in transaction
---------

Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
* Java: add transaction commands for json module

---------

Signed-off-by: James Xin <james.xin@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
@yipin-chen yipin-chen force-pushed the merge/yipin-module-transactions branch from 64a5c94 to c82ce97 Compare December 24, 2024 06:20
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
CHANGELOG.md Outdated Show resolved Hide resolved
* console.log(result[1]); // Output: '{"a": 1.0, "b": 2}' - result of GlideMultiJson.get()
* ```
*/
export class GlideMultiJson {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't we align naming of the classes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let's have a discussion about naming with TLV team.

node/tests/TestUtilities.ts Show resolved Hide resolved
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
…o/valkey-glide into merge/yipin-module-transactions
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
Signed-off-by: Yi-Pin Chen <yi-pin.chen@improving.com>
@yipin-chen yipin-chen merged commit a36f98e into main Jan 2, 2025
59 checks passed
@yipin-chen yipin-chen deleted the merge/yipin-module-transactions branch January 2, 2025 23:14
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

Successfully merging this pull request may close these issues.

6 participants