Repository: tikv/tikv (language: rust)

Issue:
TiKV pod crashloopbackoff after rollback to v8.1.0 from v8.1.2-pre
## Bug Report

<!-- Thanks for your bug report! Don't worry if you can't fill out all the sections. -->

### What version of TiKV are you using?
<!-- You can run `tikv-server --version` -->
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:90] ["Welcome to TiKV"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Release Version:   8.1.0"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Edition:           Community"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Git Commit Hash:   ba73b0d92d94463d74543550d0efe61fa6a6f416"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Git Commit Branch: HEAD"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["UTC Build Time:    2024-05-20 11:48:44"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Rust Version:      rustc 1.77.0-nightly (89e2160c4 2023-12-27)"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Enable Features:   pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [lib.rs:95] ["Profile:           dist_release"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [fips.rs:40] ["OpenSSL FIPS mode is disabled"] [thread_id=1]
[2024/12/16 07:56:07.843 +00:00] [INFO] [mod.rs:118] ["cgroup quota: memory=Some(17179869184), cpu=Some(8.0), cores={69, 68, 20, 21, 67, 18, 19, 66}"] [thread_id=1]
[2024/12/16 07:56:07.844 +00:00] [INFO] [mod.rs:125] ["memory limit in bytes: 17179869184, cpu cores quota: 8"] [thread_id=1]

### What operating system and CPU are you using?
<!-- If you're using Linux, you can run `cat /proc/cpuinfo` -->
Linux tc-tikv-2 5.19.6-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Aug 29 10:06:03 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
processor	: 95
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz

### Steps to reproduce
<!-- If possible, provide a recipe for reproducing the error. A complete runnable program is good. -->
1. use operator to start a v8.1.0 cluster
2. upgrade to v8.1.2-pre
4. k edit tc to rollback to v8.1.0

### What did you expect?
rollback succeed
### What did happened?
tikv pod crash loop backoff


Discussion / hints:
/label affects-8.1
The root cause is that https://github.com/tikv/tikv/pull/17780 introduced the latest commit-id of `titan` incorrectly, which contained some modifications and optimizations expected to be merged to `8.5`.

Fix patch:
diff --git a/Cargo.lock b/Cargo.lock
index 52cf231c0fa..48b05b8c53f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3702,7 +3702,7 @@ dependencies = [
 [[package]]
 name = "librocksdb_sys"
 version = "0.1.0"
-source = "git+https://github.com/tikv/rust-rocksdb.git?branch=tikv-7.5#268d20d61b8bf097f064a87a9af3cb91725ff179"
+source = "git+https://github.com/tikv/rust-rocksdb.git?branch=tikv-7.5#12bf60e27a527e7042dc3bc1e2f39342dfcb2cb4"
 dependencies = [
  "bindgen 0.65.1",
  "bzip2-sys",
@@ -3721,7 +3721,7 @@ dependencies = [
 [[package]]
 name = "libtitan_sys"
 version = "0.0.1"
-source = "git+https://github.com/tikv/rust-rocksdb.git?branch=tikv-7.5#268d20d61b8bf097f064a87a9af3cb91725ff179"
+source = "git+https://github.com/tikv/rust-rocksdb.git?branch=tikv-7.5#12bf60e27a527e7042dc3bc1e2f39342dfcb2cb4"
 dependencies = [
  "bzip2-sys",
  "cc",
@@ -5685,7 +5685,7 @@ dependencies = [
 [[package]]
 name = "rocksdb"
 version = "0.3.0"
-source = "git+https://github.com/tikv/rust-rocksdb.git?branch=tikv-7.5#268d20d61b8bf097f064a87a9af3cb91725ff179"
+source = "git+https://github.com/tikv/rust-rocksdb.git?branch=tikv-7.5#12bf60e27a527e7042dc3bc1e2f39342dfcb2cb4"
 dependencies = [
  "libc 0.2.151",
  "librocksdb_sys",


Test patch: