-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run integration-tests with tikv v6.5.8 failed #447
Comments
Currently integration tests are hard coded to Set clients to use API To address the error, you may also need to use a |
I notice that and modify the I'm not familiar with tikv-rust-client, can you please check it? @pingyu let client =
TransactionClient::new_with_config(pd_addrs(), Config::default()) |
I meant the error was raised from Change the let raw_client =
RawClient::new_with_config(pd_addrs(), Config::default().with_default_keyspace())
...
...
let txn_client =
TransactionClient::new_with_config(pd_addrs(), Config::default().with_default_keyspace()) |
Thank you for your reply, after modifying tikv quit: exit status 1
[2024/03/26 09:37:04.176 +08:00] [INFO] [raft.rs:1177] ["became pre-candidate at term 5"] [term=5] [raft_id=87] [region_id=86]
[2024/03/26 09:37:04.176 +08:00] [INFO] [raft.rs:1151] ["became candidate at term 6"] [term=6] [raft_id=87] [region_id=86]
[2024/03/26 09:37:04.176 +08:00] [INFO] [raft.rs:1235] ["became leader at term 6"] [term=6] [raft_id=87] [region_id=86]
[2024/03/26 09:37:04.176 +08:00] [INFO] [peer.rs:5622] ["require updating max ts"] [initial_status=25769803862] [region_id=86]
[2024/03/26 09:37:04.176 +08:00] [INFO] [endpoint.rs:699] ["register observe region"] [region="id: 86 start_key: 7480000000000000FF4C00000000000000F8 end_key: 7480000000000000FF4E00000000000000F8 region_epoch { conf_ver: 1 version: 43 } peers { id: 87 store_id: 1 }"]
[2024/03/26 09:37:04.176 +08:00] [INFO] [endpoint.rs:357] ["Resolver initialized"] [pending_data_index=0] [snapshot_index=70] [observe_id=ObserveId(83)] [region=10]
[2024/03/26 09:37:04.176 +08:00] [INFO] [pd.rs:1715] ["succeed to update max timestamp"] [region_id=86]
[2024/03/26 09:37:04.176 +08:00] [INFO] [endpoint.rs:357] ["Resolver initialized"] [pending_data_index=0] [snapshot_index=6] [observe_id=ObserveId(84)] [region=86]
[2024/03/26 09:37:09.040 +08:00] [INFO] [client.rs:848] ["set cluster version to 6.5.8-dirty"]
[2024/03/26 09:37:14.970 +08:00] [FATAL] [lib.rs:509] ["assertion failed: !req.get_start_key().is_empty()"] [backtrace=" 0: backtrace::capture::Backtrace::new\n 1: tikv_util::set_panic_hook::{{closure}}\n 2: std::panicking::rust_panic_with_hook\n 3: std::panicking::begin_panic_handler::{{closure}}\n 4: std::sys_common::backtrace::__rust_end_short_backtrace\n 5: _rust_begin_unwind\n 6: core::panicking::panic_fmt\n 7: core::panicking::panic\n 8: <grpcio::server::Handler<F> as grpcio::server::CloneableHandler>::handle\n 9: grpcio::call::server::execute\n 10: grpcio::env::poll_queue\n 11: std::sys_common::backtrace::__rust_begin_short_backtrace\n 12: core::ops::function::FnOnce::call_once{{vtable.shim}}\n 13: std::sys::unix::thread::Thread::new::thread_start\n 14: __pthread_joiner_wake\n"] [location=/Users/pingcap/workspace/build-common/go/src/github.com/pingcap/tikv/src/server/service/kv.rs:521] [thread_name=grpc-server-3] |
Emmm... Just comment out the the two lines. It's not necessary in API v1.
|
Thanks, comment out works. I ran the test many times and the following three tests have not passed, the
|
No. There seems to be bugs. |
run integration-tests on tikv 6.5.8 without
api-version = 2
, got errorhow to set the client to
api-version = 1
?use
TransactionClient::new
should use v1, but get the same errorThe text was updated successfully, but these errors were encountered: