kvrocks icon indicating copy to clipboard operation
kvrocks copied to clipboard

TimeSeries: Implement `TS.DELETERULE` command

Open yezhizi opened this issue 2 months ago • 4 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Motivation

We should implement TS.DELETERULE command.

Redis command reference: https://redis.io/docs/latest/commands/ts.deleterule/

Solution

Refer to TS.CREATERULE(https://github.com/apache/kvrocks/pull/3151/commits/9da1c2c8407edccc539b0e52b3a508a856f34462 , https://github.com/apache/kvrocks/pull/3151/commits/264a122b2aa04b4fc7afec4e9039c0ccc22222a8)

  • Delete the related DOWNSTREAM subkey, modify the sourceKey field in metadata
  • Add TS.DELETERULE command
  • Add go integrated test

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

yezhizi avatar Oct 05 '25 04:10 yezhizi

I can work on this!

var-nan avatar Oct 26 '25 14:10 var-nan

@var-nan Thank you! Assigned.

yezhizi avatar Oct 26 '25 15:10 yezhizi

@var-nan are you still working on this ?

krishivsaini avatar Nov 18 '25 18:11 krishivsaini

@krishivsaini Yes. I was quite busy the last two weeks.

var-nan avatar Nov 18 '25 20:11 var-nan