Skip to content

Node - Added BLPOP command#1223

Merged
acarbonetto merged 13 commits intovalkey-io:mainfrom
Bit-Quill:node/integ_aarzola_add_blpop
May 6, 2024
Merged

Node - Added BLPOP command#1223
acarbonetto merged 13 commits intovalkey-io:mainfrom
Bit-Quill:node/integ_aarzola_add_blpop

Conversation

@alex-arzola-imp
Copy link
Copy Markdown
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
@acarbonetto acarbonetto self-assigned this Apr 8, 2024
@barshaul
Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown
Collaborator

Please pull latest commit #1283

@alex-arzola-imp alex-arzola-imp force-pushed the node/integ_aarzola_add_blpop branch from 21ab3f0 to 21dd208 Compare April 24, 2024 21:56
@alex-arzola-imp alex-arzola-imp force-pushed the node/integ_aarzola_add_blpop branch from 6638bd8 to 16ace2e Compare April 25, 2024 20:04
@acarbonetto acarbonetto changed the title [DO NOT MERGE] Node - Added BLPOP command Node - Added BLPOP command Apr 25, 2024
Copy link
Copy Markdown
Contributor

@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

@acarbonetto acarbonetto marked this pull request as ready for review April 25, 2024 21:02
@alex-arzola-imp alex-arzola-imp force-pushed the node/integ_aarzola_add_blpop branch from dbd900a to 450cc1d Compare April 25, 2024 21:37
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
Copy Markdown

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