TimeSeries: Support `IGNORE` option when creating timesereies
- Dominant language
- C++
- Stars
- 4.4k
- Forks
- 658
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 10
Description
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
### Motivation
When creating a time series, the `[IGNORE ignoreMaxTimedestampDiff ignoreMaxValDiff]` options can be specified. During samples writing through `TS.ADD/TS.MADD`, samples meeting certain condition will be ignored.
Redis reference:
https://redis.io/docs/latest/commands/ts.create/
### Solution
- Add two fields(ignoreMaxTimedestampDiff ignoreMaxValDiff) to timeseries metadata
- When adding samples, determine whether the "ignore" condition is met.
- Add go integrated test
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.