The GitHub Actions job "CI" on kvrocks.git/unstable has succeeded.
Run started by GitHub user PragmaTwice (triggered by PragmaTwice).

Head commit for run:
32d349935cfa699f2b2522983131cbe9e725da71 / RX Xiao 
<[email protected]>
fix(ts): Avoid aggregating empty downstream bucket when writing to empty series 
(#3184)

An edge case existed (due to the handling of [`latest_bucket_idx` in the
downstream
meta](https://github.com/apache/kvrocks/blob/4025a6d23698b6bd5383511f259d10988fe7dc0e/src/types/redis_timeseries.h#L91-L98))
where inserting data into an empty series with the first `bucket index >
0` would incorrectly aggregate an empty or invalid bucket to the
downstream series. The insertion logic has been corrected to fix this
bug.

- Add a `DownstreamUpsertArgs` struct to contain a flag that indicates
this edge case.
- Correctly update `latest_bucket_idx` in the downstream meta.

---------

Co-authored-by: Twice <[email protected]>

Report URL: https://github.com/apache/kvrocks/actions/runs/17836174173

With regards,
GitHub Actions via GitBox

Reply via email to