Open JyotinderSingh opened 1 month ago
@JyotinderSingh I would like to work on this
@JyotinderSingh I would like to work on this
Assigned.
@JyotinderSingh
I'm trying to use ZRANGE.WATCH as per the reference in Adds support for ZRANGE.WATCH #1047, but I'm getting the error:
ERR unknown command 'ZRANGE.WATCH', with args beginning with: zrangewatchkey 0 -1 REV WITHSCORES
I'm on the latest branch and have tested it in both the CLI and the Go SDK, but the command isn’t recognized. Am I missing anything here to get this working?
@JyotinderSingh
I'm trying to use ZRANGE.WATCH as per the reference in Adds support for ZRANGE.WATCH #1047, but I'm getting the error:
ERR unknown command 'ZRANGE.WATCH', with args beginning with: zrangewatchkey 0 -1 REV WITHSCORES
I'm on the latest branch and have tested it in both the CLI and the Go SDK, but the command isn’t recognized.
Am I missing anything here to get this working?
Please run the server in multithreaded mode.
Use go run main.go --enable-multithreading=true
are you still working on this issue? @arbha1erao
Can I please take this up @JyotinderSingh @tarun-29 ?
Can I please take this up @JyotinderSingh @tarun-29 ?
Assigned
/assign
@hrishikeshdkakkad I have started on this. In case I need help, I will break it down and assign a subtask to you.
Add support for reactive queries on the existing
JSON.GET
command by introducingJSON.GET.WATCH
.This command should send push-responses to subscribed clients whenever the data inside the respective hash set changes.
As a part of this feature, you are also required to add support for the same to the dicedb-go SDK inside the watch_command.go file.
Reference
924 provides more background on the feature's underlying implementation (but may not be directly relevant to this issue)
Testing
.WATCH
integration tests.