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

Adding command BLMove #324

Merged
merged 3 commits into from
May 30, 2024
Merged

Conversation

tjzhang-BQ
Copy link

No description provided.

Copy link

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

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

just a couple of minor documentation comments

@@ -3832,6 +3833,44 @@ public T lmove(
return getThis();
}

/**
* Blocks the connection until it pops Atomically pops and removes the left/right-most element to

Choose a reason for hiding this comment

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

Suggested change
* Blocks the connection until it pops Atomically pops and removes the left/right-most element to
* Blocks the connection until it atomically pops and removes the left/right-most element to

@acarbonetto
Copy link

note: BLMOVE is already considered for timeout
https://github.com/aws/glide-for-redis/blob/main/glide-core/src/client/mod.rs#L196

@tjzhang-BQ
Copy link
Author

note: BLMOVE is already considered for timeout https://github.com/aws/glide-for-redis/blob/main/glide-core/src/client/mod.rs#L196

so if we encounter a command that is blocking and not yet included in mod.rs here we have to define the metrics for its timeout argument? How is it so that commands that aren't done like this one already have its routing/timeout defined?

@Yury-Fridlyand
Copy link

All existing at the moment commands with timout added to mod.rs to handle them.

@tjzhang-BQ tjzhang-BQ merged commit 141ede7 into java/integ_tjz_blmove May 30, 2024
44 checks passed
@tjzhang-BQ tjzhang-BQ deleted the java/dev_tjz_blmove branch May 30, 2024 17:32
aaron-congo pushed a commit that referenced this pull request May 31, 2024
* Adding command BLMove (#324)

Co-authored-by: TJ Zhang <tj.zhang@improving.com>
cyip10 pushed a commit that referenced this pull request Jun 24, 2024
* Adding command BLMove (#324)

Co-authored-by: TJ Zhang <tj.zhang@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants