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

Node - Added BLPOP command #1223

Merged
merged 13 commits into from
May 6, 2024

Conversation

alex-arzola-imp
Copy link
Contributor

Description of changes:
Added BLPOP command to the Node code

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

@alex-arzola-imp alex-arzola-imp requested a review from a team as a code owner April 2, 2024 23:46
@Yury-Fridlyand Yury-Fridlyand added the node Node.js wrapper label Apr 2, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
examples/node/package.json Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/tests/SharedTests.ts Show resolved Hide resolved
glide-core/src/protobuf/redis_request.proto Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
examples/node/package.json Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
@acarbonetto acarbonetto self-assigned this Apr 8, 2024
@barshaul
Copy link
Collaborator

barshaul commented Apr 10, 2024

We have an issue with the current wrapper handling for blocking commands. ATM, commands are being timed out on the wrapper based on the client's request_timeout configuration, rather than on the passed timeout through the command arguments.
I have an action item to fix it, lets put on hold all blocking commands implementation at the moment.
@Yury-Fridlyand @acarbonetto @Elen-Ghulam @shohamazon

@barshaul barshaul marked this pull request as draft April 10, 2024 09:51
@acarbonetto acarbonetto changed the title Node - Added BLPOP command [DO NOT MERGE] Node - Added BLPOP command Apr 10, 2024
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

Add transaction test in TestUtilities.ts

@barshaul
Copy link
Collaborator

Please pull latest commit #1283

glide-core/src/socket_listener.rs Outdated Show resolved Hide resolved
node/src/Commands.ts Outdated Show resolved Hide resolved
node/src/Transaction.ts Show resolved Hide resolved
node/tests/SharedTests.ts Show resolved Hide resolved
@acarbonetto acarbonetto changed the title [DO NOT MERGE] Node - Added BLPOP command Node - Added BLPOP command Apr 25, 2024
Copy link
Collaborator

@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.

we will need to rebase again to resolve conflicts

node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@acarbonetto acarbonetto marked this pull request as ready for review April 25, 2024 21:02
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/Transaction.ts Outdated Show resolved Hide resolved
node/tests/SharedTests.ts Outdated Show resolved Hide resolved
node/tests/SharedTests.ts Show resolved Hide resolved
alex-arzola-imp and others added 2 commits April 26, 2024 16:56
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand
Copy link
Collaborator

@barshaul, @shohamazon
Ready for review

Yury-Fridlyand and others added 4 commits May 1, 2024 17:05
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
…lide-for-redis into node/integ_aarzola_add_blpop

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@acarbonetto acarbonetto merged commit d98b056 into valkey-io:main May 6, 2024
7 checks passed
@acarbonetto acarbonetto deleted the node/integ_aarzola_add_blpop branch May 6, 2024 22:48
tjzhang-BQ pushed a commit to Bit-Quill/valkey-glide that referenced this pull request May 8, 2024
* Node - Added BLPOP command

* Addressed PR comments

* Ran prettier

* Added unit test and ran prettier

* PR comments.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Added same-slot requirement for BLPOP and addressed PR comments

* Fixed branch conflicts

* Addressed PR commands

* Update docs and test, fix merge errors.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Update doc.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Co-authored-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 24, 2024
* Node - Added BLPOP command

* Addressed PR comments

* Ran prettier

* Added unit test and ran prettier

* PR comments.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Added same-slot requirement for BLPOP and addressed PR comments

* Fixed branch conflicts

* Addressed PR commands

* Update docs and test, fix merge errors.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Update doc.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Co-authored-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node Node.js wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants