Skip to content

Tags: tikv/tikv

Tags

v8.5.5-20260220-436504d

Toggle v8.5.5-20260220-436504d's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
br: add content length for multi part upload (#19358) (#19377)

* draft

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* add unit tests

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* fix typos

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* make clippy

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* fix unit test

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

---------

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Co-authored-by: Jianjun Liao <jianjun.liao@outlook.com>

v8.5.5-20260215-436504d

Toggle v8.5.5-20260215-436504d's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
br: add content length for multi part upload (#19358) (#19377)

* draft

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* add unit tests

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* fix typos

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* make clippy

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* fix unit test

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

---------

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Co-authored-by: Jianjun Liao <jianjun.liao@outlook.com>

v8.5.5-20260214-055c58f

Toggle v8.5.5-20260214-055c58f's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
storage: fix wrong commit_ts in Get/TableScan when latest write is Op…

…_Lock (#19374)

close #19312

storage: fix wrong commit_ts in Get/TableScan when latest write is Op_Lock

Problem Summary:
- When `load_commit_ts=true` and a key has newer committed `Op_Lock` versions on top of the visible `Op_Put`, TiKV may return the lock commit_ts instead of the put commit_ts.

What changed:
- Fix `PointGetter` to return the commit_ts of the actual write version loaded by `last_change` shortcut, instead of the current cursor version.
- Fix backward scanner to only update `loaded_commit_ts` when selecting a `Put` version, avoiding ts overwrite from `Lock/Rollback` versions.

Tests:
- Add `test_point_get_load_commit_ts_with_top_lock_versions` in `point_getter.rs`.
- Add `test_load_commit_ts_with_top_lock_versions` in `scanner/backward.rs`.
- Verify existing related tests:
  - `test_point_get_load_commit_ts`
  - `test_scan_with_load_commit_ts`

Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>

v8.5.6-20260228-28890b9

Toggle v8.5.6-20260228-28890b9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tici: support versioned lookup via per-key read ts (range_versions) (#…

…19302)

close #19357

coprocessor: support versioned lookup via per-key read ts (range_versions)

  This introduces a special "versioned lookup" read path for coprocessor DAG requests:

  - When `coppb::Request.range_versions` is empty, behavior is unchanged.
  - When `range_versions` is provided:
    - `ranges.len()` must equal `range_versions.len()`
    - all `ranges` must be point ranges
    - only DAG + TableScan is allowed
    - each `ranges[i]` is read at `range_versions[i]` (per-key read ts), while bypassing txn-related checks:
      - endpoint memory lock checking / max_ts update
      - lock-cf checking in PointGetter
      - RcCheckTs newer-ts conflicts

  Implementation overview:
  - Plumb `range_versions` through Endpoint -> DagHandlerBuilder -> TableScan -> RangesScanner.
  - Add Store/SnapshotStore `get_entry_at_ts` backed by PointGetter with `bypass_txn_check`.
  - Disable coprocessor cache for versioned lookup to avoid unintended cache hits.

  Tests:
  - Add unit tests for validation/guard rails and bypass behaviors.
  - Add executor tests to verify per-range ts usage (including backward scan alignment).
  - Extend coprocessor integration tests for reading older versions.

  Dependencies:
  - Requires kvproto change adding `coppb::Request.range_versions` (kvproto PR: pingcap/kvproto#1356).
    The temporary `[patch]` in `Cargo.toml` can be removed after kvproto is merged.

Signed-off-by: wshwsh12 <793703860@qq.com>

v8.5.5-20260214-3a94ee0

Toggle v8.5.5-20260214-3a94ee0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
*: merge release-8.5 to active-active feature branch (#19317)

close #19312

merge release-8.5 to active-active feature branch

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: Chao Wang <cclcwangchao@hotmail.com>
Signed-off-by: ekexium <eke@fastmail.com>
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: ekexium <eke@fastmail.com>
Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>

v8.5.4-20260120-d25f155

Toggle v8.5.4-20260120-d25f155's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
crossbeam-skiplist: fix RefRange iterator memory leak (#19284) (#19293)

close #19285

Fix RefRange::next() and next_back() to properly decrement old self.head/self.tail refcount.

Signed-off-by: ekexium <eke@fastmail.com>
Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
Signed-off-by: you06 <you1474600@gmail.com>

Co-authored-by: ekexium <eke@fastmail.com>
Co-authored-by: lucasliang <nkcs_lykx@hotmail.com>
Co-authored-by: you06 <you1474600@gmail.com>

v8.5.5

Toggle v8.5.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
*: fix clippy by ignoring RUSTSEC-2026-0002 (#19271) (#19281)

ref #19249

Fix the CI by ignoring `RUSTSEC-2026-0002`.

Signed-off-by: you06 <you1474600@gmail.com>

v8.5.4-20251231-f006964

Toggle v8.5.4-20251231-f006964's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
compact-log-backup: pick some of fixs of restoring. (#19258)

* sst_importer: set fill cache to false when merge downloaded SST files (#19229)

close #19228

set fill cache to false when merge downloaded SST files

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

* sst_importer: ensure cleanup of temporary files on error (#19240)

ref #17283, close #19239

sst_importer: enhance failpoint handling and ensure cleanup of temporary files on error

- Ensure temporary files are cleaned up when a download fails in sst_importer
- Add a new failpoint `download_files_ext_after_download` to inject errors right after batch downloads complete, improving test coverage of cleanup paths

Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

* Squashed commit of the following:

commit 5a14b2b
Author: Juncen Yu <yujuncen@pingcap.com>
Date:   Mon Dec 29 15:11:06 2025 +0800

    make clippy happy

    Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

commit ace595e
Merge: bd5bff3 147cacc
Author: Juncen Yu <yujuncen@pingcap.com>
Date:   Fri Dec 26 17:51:36 2025 +0800

    Merge branch 'master' of https://github.com/tikv/tikv into resolve-compact-conflict

commit bd5bff3
Merge: fde14ce 301984c
Author: Juncen Yu <yujuncen@pingcap.com>
Date:   Mon Dec 22 12:10:59 2025 +0800

    Merge branch 'master' of https://github.com/tikv/tikv into resolve-compact-conflict

    Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

commit fde14ce
Author: Juncen Yu <yujuncen@pingcap.com>
Date:   Tue Mar 18 15:44:06 2025 +0800

    added more checks

    Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

commit d0801cb
Author: Juncen Yu <yujuncen@pingcap.com>
Date:   Tue Mar 18 15:27:14 2025 +0800

    added more case about collapsed rollback

    Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

commit 6d2b994
Author: Juncen Yu <yujuncen@pingcap.com>
Date:   Tue Mar 18 14:52:40 2025 +0800

    compact-log-backup: try to resolve conflict encountering during compacting

    Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

* *: upgrade cargo-deny version to make it compatible to further developments.

Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>

---------

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Juncen Yu <yujuncen@pingcap.com>
Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
Co-authored-by: Jianjun Liao <36503113+Leavrth@users.noreply.github.com>
Co-authored-by: lucasliang <nkcs_lykx@hotmail.com>

v8.5.4-20251209-e5fa294

Toggle v8.5.4-20251209-e5fa294's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
raftstore: reset region approximate size/keys stats when it becomes l…

…eader (#19181) (#19186)

close #19180

Reset region's approximate size/keys stats when peer becomes leader. This can avoid peer report outdated stats to pd and caused unnecessary balance scheduling.

Signed-off-by: glorv <glorvs@163.com>

v8.5.4-20251208-96af5c6

Toggle v8.5.4-20251208-96af5c6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
compact_log_backup: optimize compact (#18882) (#19168)

* compact_log_backup: optimize compact (#18882)

close #18843, close #18950

1. Remove read_buf_exact_size for s3 hyper client
2. Use cloud::blob::read_to_end to read migrations from futures::io::AsyncRead
3. Use bytes::Bytes to speed up deallocating MetaFile

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Jianjun Liao <36503113+Leavrth@users.noreply.github.com>
Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

* mute clippy

Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

* make format

Signed-off-by: Juncen Yu <yujuncen@pingcap.com>

---------

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Jianjun Liao <36503113+Leavrth@users.noreply.github.com>
Signed-off-by: Juncen Yu <yujuncen@pingcap.com>