Titan: Add a regression test for Titan disabling#18477
Titan: Add a regression test for Titan disabling#18477ti-chi-bot[bot] merged 2 commits intotikv:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
fe02879 to
5b34be7
Compare
Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
| // blob db: file0 [k1: v] | ||
| assert!(!is_error_response(&block_on( | ||
| cluster | ||
| .async_add_peer(region1.get_id(), peer.clone()) |
There was a problem hiding this comment.
Nit: It's better to initiate a transfer leader to the new peer after async_add_peer. Because it does not wait for the new peer to be created.
| name = "raft-engine" | ||
| version = "0.4.2" | ||
| source = "git+https://github.com/tikv/raft-engine.git#de1ec937529e3a88e093db0cf0d403522565fe64" | ||
| source = "git+https://github.com/tikv/raft-engine.git#392f5e66f8286dc1b6d7cf69f2bc20ed72d40123" |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LykxSassinator, overvenus The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
| // Deletion record written by blob file GC is deleted by DeleteFiles, while the | ||
| // original record that is suppose to be deleted by DeleteByWriter is not | ||
| // deleted. | ||
| fail::cfg("after_delete_files_in_range", "return()").unwrap(); |
There was a problem hiding this comment.
It seems to be an invalid fail point ...
rg after_delete_files_in_range tikv
tikv/tests/failpoints/cases/test_titan.rs
125: fail::cfg("after_delete_files_in_range", "return()").unwrap();| db.get_property_int_cf(defaultcf, "rocksdb.num-files-at-level5") | ||
| .unwrap() | ||
| ); | ||
| // lv5: file1 [k1: deleted] |
There was a problem hiding this comment.
In this case, should k1 be rewritten into the LSM instead of getting deleted?
close tikv#18434 The real bug has been fixed by distinguishing Titan blob index from RocksDB blob index during RocksDB upgrade effort. This PR just adds a regression test to prove it is fixed. We reproduced the error with the same test code in 7.5 Signed-off-by: Yang Zhang <yang.zhang@pingcap.com> downgrade log level form error to warning downgrade log level from error to warning backup_stream: encode ts related field into meta file path (tikv#18482) close tikv#18497, ref pingcap/tidb#61318 backup_stream: encode ts related field into meta file path. Signed-off-by: 3pointer <luancheng@pingcap.com> Signed-off-by: 3pointer <qdlc2010@gmail.com> Co-authored-by: 山岚 <36239017+YuJuncen@users.noreply.github.com>
close tikv#18497, ref pingcap/tidb#61318 backup_stream: encode ts related field into meta file path. Signed-off-by: 3pointer <luancheng@pingcap.com> Signed-off-by: 3pointer <qdlc2010@gmail.com> Co-authored-by: 山岚 <36239017+YuJuncen@users.noreply.github.com> pd: degrade useless log (tikv#18504) close tikv#18506 Signed-off-by: bufferflies <1045931706@qq.com> tikv:downgrade log level from error to warning Titan: Add a regression test for Titan disabling (tikv#18477) close tikv#18434 The real bug has been fixed by distinguishing Titan blob index from RocksDB blob index during RocksDB upgrade effort. This PR just adds a regression test to prove it is fixed. We reproduced the error with the same test code in 7.5 Signed-off-by: Yang Zhang <yang.zhang@pingcap.com> backup_stream: encode ts related field into meta file path (tikv#18482) close tikv#18497, ref pingcap/tidb#61318 backup_stream: encode ts related field into meta file path. Signed-off-by: 3pointer <luancheng@pingcap.com> Signed-off-by: 3pointer <qdlc2010@gmail.com> Co-authored-by: 山岚 <36239017+YuJuncen@users.noreply.github.com> pd: degrade useless log (tikv#18504) close tikv#18506 Signed-off-by: bufferflies <1045931706@qq.com>
|
In response to a cherrypick label: new pull request created to branch |
close #18434 The real bug has been fixed by distinguishing Titan blob index from RocksDB blob index during RocksDB upgrade effort. This PR just adds a regression test to prove it is fixed. We reproduced the error with the same test code in 7.5 Signed-off-by: Yang Zhang <yang.zhang@pingcap.com> Co-authored-by: Yang Zhang <yang.zhang@pingcap.com>
What is changed and how it works?
Issue Number: Close #18434
What's Changed:
Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note