Merge TiKV(bce01cf) into Proxy#249
Merged
hongyunyan merged 474 commits intopingcap:raftstore-proxyfrom Jan 7, 2023
Merged
Conversation
ref tikv#12901 Add `put_recover_from_raft_db` and `recover_from_raft_db` to raft engine for checking if store should be recovered from states in raftdb. Signed-off-by: 5kbpers <[email protected]>
ref tikv#12849 Support new engine trait can_apply_snapshot Signed-off-by: CalvinNeo <[email protected]>
ref tikv#13433 Signed-off-by: Ryan Leung <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…c keys (tikv#13426) close tikv#13425, ref pingcap/tidb#35525 Don't treat newer Rollback records as write conflicts for non-pessimistic keys in pessimistic transactions. They can cause false positive errors because they can be written even if the pessimistic lock of the corresponding row key exists. Rollback records are only used to prevent retried prewrite from succeeding. Even if the Rollback record of the current transaction is collapsed by a newer record, it is safe to prewrite this non-pessimistic key because either the primary key is rolled back or it's protected because it's written by CheckSecondaryLocks. Signed-off-by: Yilin Chen <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#13435 Add hook to observe the update of safe ts to calculate the TiFlash synchronization progress, including leader safe ts from check_leader RPC, and the update of self safe ts when receive check_leader RPC or apply. Signed-off-by: hehechen <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#13095 Update rust-rocksdb Signed-off-by: tabokie <[email protected]>
close tikv#13442 Signed-off-by: 3pointer <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#13232 Signed-off-by: Leavrth <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12849 Support self-defined addr/status_addr Signed-off-by: CalvinNeo <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#13452 Signed-off-by: haojinming <[email protected]>
ref tikv#13353 Signed-off-by: hehechen <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12849 Support coprocessor observer pre_commit Signed-off-by: CalvinNeo <[email protected]>
close tikv#13417 Signed-off-by: YangKeao <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…types (tikv#13387) close tikv#13386, ref pingcap/tidb#37481 Signed-off-by: YangKeao <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#13058 Some useless methods are not ported. Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12842 It's a super set of batch channel. It can be used as a batch channel or just a future channel. This is the first PR to use unified thread pool in apply system for v2. Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…shared_db() (tikv#13465) close tikv#13463 Signed-off-by: BornChanger <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#11119 Signed-off-by: tabokie <[email protected]>
…s different with TiDB. (tikv#13472) close tikv#13458 Signed-off-by: Meng Xin <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12901 Set sequence number to `ApplyRes` Signed-off-by: 5kbpers <[email protected]> Signed-off-by: 5kbpers <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]> Co-authored-by: Jay <[email protected]>
ref tikv#13319, ref tikv#13322 Signed-off-by: SpadeA-Tang <[email protected]> Co-authored-by: Xinye Tao <[email protected]>
close tikv#13436 Signed-off-by: haojinming <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
) ref tikv#13406 Signed-off-by: SpadeA-Tang <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…ult value update (tikv#13457) close tikv#13456 Signed-off-by: Leavrth <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#13058 Everything is almost the same as engine_rocks except engine_tirocks put snapshot into an `Arc`. The old implementation is not safe as the snapshot can be released while the iterator is still being used. Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12020, ref tikv#12842, ref tikv#13334 This PR implements write proposal and proposal batch. Compared to v1, a custom codec is introduced to make batch more efficient. Epoch checker will be added in next PR. Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#13483 Signed-off-by: gengliqi <[email protected]>
…store (tikv#13374) close tikv#13376 Signed-off-by: fengou1 <[email protected]> Signed-off-by: 3pointer <[email protected]> Signed-off-by: fengou1 <[email protected]> Co-authored-by: 3pointer <[email protected]> Co-authored-by: 3pointer <[email protected]> Co-authored-by: qupeng <[email protected]>
ref tikv#13303, close tikv#13448 Since deleting the old MVCC keys directly will cause the GC Compaction Filter to mishandle the deletion entry, this PR refactors the `FlashbackToVersionReadPhase` and `FlashbackToVersion` commands to use the MVCC overwriting to achieve the flashback. Signed-off-by: JmPotato <[email protected]>
…re (tikv#13028) close tikv#12344 Signed-off-by: fengou1 <[email protected]> Signed-off-by: 3pointer <[email protected]> Signed-off-by: fengou1 <[email protected]> Co-authored-by: 3pointer <[email protected]> Co-authored-by: 3pointer <[email protected]> Co-authored-by: qupeng <[email protected]>
ref tikv#12842 This PR fixes several issues: - raftstore CPU usage missing in grafana - restart fails because incorrect path asserts - restart fails because of missing flush records - get snapshots fails occasionally because of lease not renew Signed-off-by: Jay Lee <[email protected]>
ref tikv#12842 This PR makes check leader works by introducing a trait `ExternRegionInfo`. Signed-off-by: Jay Lee <[email protected]>
ref tikv#12842 Signed-off-by: bufferflies <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12842 Signed-off-by: tabokie <[email protected]>
close tikv#13941, ref pingcap/tidb#39620 - If failed to get initial snapshot, remove the subscription as soon as possible. - Added a cache of getting checkpoint. This cache is lease-based -- the lease time is simply the tick interval of the coordinator. - Make the channel size huger for don't blocking the main loop when many regions migrating. Signed-off-by: hillium <[email protected]> Signed-off-by: hillium <[email protected]> Signed-off-by: 山岚 <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…v#13984) ref tikv#12842 Signed-off-by: tabokie <[email protected]>
ref tikv#12842 Signed-off-by: tabokie <[email protected]> Signed-off-by: Xinye Tao <[email protected]>
ref tikv#12842 Implement periodical purge in v2. Signed-off-by: tabokie <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
ref tikv#12842 If operations like snapshot, split, are aborted by restart, they needs to be either resumed or cleanup. This PR checks for garbage after restart and resume committed operations. Signed-off-by: Jay Lee <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
|
|
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Signed-off-by: hongyunyan <[email protected]>
Author
|
/run-all-tests |
Author
|
/run-build-check-old (pull_request) |
Signed-off-by: hongyunyan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note