Skip to content

TiKV crash when upgrade to v7.5.6 from v7.5.5 #18263

@jolynejo

Description

@jolynejo

Bug Report

What version of TiKV are you using?

[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:88] ["Welcome to TiKV"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Release Version: 7.5.6"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Edition: Community"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Git Commit Hash: f92e61a"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Git Commit Branch: HEAD"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["UTC Build Time: Unknown (env var does not exist when building)"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Rust Version: rustc 1.67.0-nightly (96ddd32c4 2022-11-14)"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Enable Features: pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure"] [thread_id=1]
[2025/03/03 13:52:00.158 +08:00] [INFO] [lib.rs:93] ["Profile: dist_release"] [thread_id=1]

What operating system and CPU are you using?

Steps to reproduce

tikv config:
[rocksdb.titan]
enabled = true
start a v7.5.5 cluster, them upgrade to v7.5.6.

What did you expect?

upgrade successfully.

What did happened?

tikv crash, meet error [ERROR] [engine_factory.rs:197] ["failed to create kv engine"] [err="Engine(Status { code: IoError, sub_code: None, sev: NoError, state: "Corruption: VersionEdit: unknown tag" })"] [path=/var/lib/tikv/data]

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.impact/crashcrash/fatalseverity/criticaltype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions