-
Notifications
You must be signed in to change notification settings - Fork 565
Description
Search before asking
- I had searched in the issues and found no similar issues.
Motivation
Part of OSPP 2025.
This task is to implement the time series data structure and its commands on Kvrocks.
We have broken down the task into multiple subtasks and will track them in this issue.
-
Initialize metadata. (feat(ts): initialize metadata and subkey encoding #3072)
-
Write Operations(
TS.CREATE/TS.ADD/TS.MADD
): Support uncompressed chunk storage. (feat(ts): Add data structures for uncompressed chunks #3091 feat(ts): Add support for data writing andTS.CREATE
,TS.ADD/MADD
commands #3107 ) -
Query Operations(
TS.INFO
/TS.GET
/TS.RANGE
): Implement time-range scans with chunk iteration. (feat(ts): AddTS.INFO
command #3133 feat(ts): Add data query support andTS.RANGE
command #3140 feat(ts): AddTS.GET
command #3142 ) -
Multi-Series Queries(
TS.MGET
/TS.MRANGE
): Support label-based indexing and filter expressions. (feat(ts): Add label-based indexing support andTS.MGET
command #3164 feat(ts): AddTS.MRANGE
command #3167 ) -
Downsampling Rules(
TS.CREATERULE
): Implement downstream_key metadata and aggregation logic. (feat(ts): Add support for writing downstream timeseries andTS.CREATERULE
command #3151 ) -
Remove/recycle related label index in
Index
CF when a TS key was deleted/expired. -
Retention: Implement retention policy with compaction filters.
-
Out-of-Order Writes & Deletion(
TS.DEL
,TS.INCRBY/DECRBY
): Handle non-append writes. -
(Optional) Compressed Chunk Support: Integrate Gorilla compression for timestamps/values.
Solution
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!