forked from tikv/tikv
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Merge TiKV 6.0 into Proxy #55
Merged
CalvinNeo
merged 547 commits into
pingcap:raftstore-proxy
from
CalvinNeo:raftstore-proxy-6.0-try
May 18, 2022
Merged
Merge TiKV 6.0 into Proxy #55
CalvinNeo
merged 547 commits into
pingcap:raftstore-proxy
from
CalvinNeo:raftstore-proxy-6.0-try
May 18, 2022
Conversation
This file contains 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
…1213) close tikv#11159 Signed-off-by: Wenbo Zhang <[email protected]>
* reduce extra next/pre in row_scan close tikv#11572 Signed-off-by: Jayice <[email protected]> * reduce extra next/pre in row_scan close tikv#11572 Signed-off-by: Jayice <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#11593 Signed-off-by: Ryan Leung <[email protected]> Co-authored-by: Yilin Chen <[email protected]>
* add snap-generator-pool-size for configurable snapshot generator thread pool Signed-off-by: iosmanthus <[email protected]> * rename config macro Signed-off-by: iosmanthus <[email protected]> Co-authored-by: Andy Lok <[email protected]>
* add prompt for ctl close tikv#11514 Signed-off-by: Jayice <[email protected]> * format code close tikv#11514 Signed-off-by: Jayice <[email protected]> * format code close tikv#11514 Signed-off-by: Jayice <[email protected]> * format code close tikv#11514 Signed-off-by: Jayice <[email protected]> * optimize duplicate codes:pd check close tikv#11514 Signed-off-by: Jayice <[email protected]> * move pd check in get_pd_rpc_client close tikv#11514 Signed-off-by: Jayice <[email protected]> * simplify the codes check host|data-dir close tikv#11514 Signed-off-by: Jayice <[email protected]>
…1269) * ctl: should check column name validation when scan data using ctl close tikv#11268 Signed-off-by: yuqi1129 <[email protected]> * fix format problem Signed-off-by: yuqi1129 <[email protected]> Co-authored-by: Xinye Tao <[email protected]>
…onsistency (tikv#10977) * Add mutation checking logic Signed-off-by: MyonKeminta <[email protected]> * Fix build Signed-off-by: MyonKeminta <[email protected]> * Fix usages of mutation Signed-off-by: MyonKeminta <[email protected]> * Update kvproto and renaming Signed-off-by: MyonKeminta <[email protected]> * Add a simple test Signed-off-by: MyonKeminta <[email protected]> * Fix incorrect assertion Signed-off-by: MyonKeminta <[email protected]> * Support check existance during pessimistic lock Signed-off-by: MyonKeminta <[email protected]> * Add assertion level support Signed-off-by: MyonKeminta <[email protected]> * Add tests Signed-off-by: MyonKeminta <[email protected]> * Add more test cases Signed-off-by: MyonKeminta <[email protected]> * Add test for check_existence of pessimistic_lock request Signed-off-by: MyonKeminta <[email protected]> * Fix build Signed-off-by: MyonKeminta <[email protected]> * ref tikv#11542 Signed-off-by: MyonKeminta <[email protected]> * Add a metric for counting different way of checking assertion, for reference about the performance impact Signed-off-by: MyonKeminta <[email protected]> Co-authored-by: MyonKeminta <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
Signed-off-by: Shuaipeng Yu <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
* close tikv#11660 Signed-off-by: xiongjiwei <[email protected]> * close tikv#11660 Signed-off-by: xiongjiwei <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…kv#11216) * wip Signed-off-by: pingyu <[email protected]> * wip Signed-off-by: pingyu <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> * fix enable_ttl Signed-off-by: andylokandy <[email protected]> * simplify test Signed-off-by: andylokandy <[email protected]> * ref tikv#10974: Add API V2 check for RawKV and TxnKV requests (txn) Signed-off-by: pingyu <[email protected]> Co-authored-by: andylokandy <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
Signed-off-by: qupeng <[email protected]>
* close tikv#11642 Signed-off-by: qupeng <[email protected]> * a more comment Signed-off-by: qupeng <[email protected]>
* ctl: split into multiple modules ref tikv#10938 Signed-off-by: andylokandy <[email protected]> * refactor if let to match Signed-off-by: andylokandy <[email protected]> * address comment Signed-off-by: andylokandy <[email protected]> * address comment Signed-off-by: andylokandy <[email protected]> * address comment Signed-off-by: andylokandy <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
* close tikv#11676 Signed-off-by: devillove084 <[email protected]>
* Deprecation is planned for MIN,MAX,EPSLION,INFINITY,NEG_INFINITY of the (i|u|f)(8|16|32|64) types in standard. ref tikv#11678 ```release-note NONE ``` Signed-off-by: Harold Dost <[email protected]>
Signed-off-by: zhangjinpeng1987 <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
close tikv#11690 Signed-off-by: mornyx <[email protected]>
* file_system: support collect the read flow by proc Signed-off-by: MuZhou233 <[email protected]> * fix lint Signed-off-by: MuZhou233 <[email protected]> * fix clippy Signed-off-by: MuZhou233 <[email protected]> * Delete unused content & Adjust copyright text Signed-off-by: MuZhou233 <[email protected]> * Add bench_fetch_io_bytes Signed-off-by: MuZhou233 <[email protected]> * fix lint Signed-off-by: MuZhou233 <[email protected]> * Integrate thread_io Signed-off-by: MuZhou233 <[email protected]> * record bytes in request Signed-off-by: MuZhou233 <[email protected]> * fix logical bug Signed-off-by: MuZhou233 <[email protected]> * Update test write_bytes Signed-off-by: MuZhou233 <[email protected]> * Delete unused & Rename func Signed-off-by: MuZhou233 <[email protected]> * Add test for read & Update test for write Signed-off-by: MuZhou233 <[email protected]> * Add buffered thread io Signed-off-by: MuZhou233 <[email protected]> * Replace DashMap with ThreadLocal Signed-off-by: MuZhou233 <[email protected]> * Rename variables and function & Remove unused call Signed-off-by: MuZhou233 <[email protected]> * Change fetch logic. close tikv#10867 Signed-off-by: MuZhou233 <[email protected]> * Add AtomicIOBytes Signed-off-by: MuZhou233 <[email protected]> * Split ThreadIOSentinel Signed-off-by: MuZhou233 <[email protected]> * add THREAD_IO_TOTAL for metrics bytes fetcher Signed-off-by: MuZhou233 <[email protected]> * Adjust code style & fix Signed-off-by: MuZhou233 <[email protected]> * improve write_bytes test Signed-off-by: MuZhou233 <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
…ocks (tikv#11591) ref tikv#11452 Signed-off-by: Yilin Chen <[email protected]>
* add datasink trait Signed-off-by: Zhenchi <[email protected]> * RAII removes on_reporter_closing Signed-off-by: Zhenchi <[email protected]> * fmt Signed-off-by: Zhenchi <[email protected]> * fix build ref tikv#11691 Signed-off-by: Zhenchi <[email protected]> * datasink -> data_sink Signed-off-by: Zhenchi <[email protected]> * fmt Signed-off-by: Zhenchi <[email protected]> * fix build Signed-off-by: Zhenchi <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
* clippy: Fixing up clippy errors. * Fix crate references * Fix anonymous lifetimes references. ref tikv#4301 Signed-off-by: Harold Dost <[email protected]> * Test Revert of Iterations ref tikv#4301 Signed-off-by: Harold Dost <[email protected]> * clippy: Enable check for rust-2018-idioms ref tikv#4301 Signed-off-by: Harold Dost <[email protected]>
ref tikv#11691 Signed-off-by: Zhenchi <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
Signed-off-by: linning <[email protected]>
* Use generic for api version to reduce runtime branching ref tikv#10938 Signed-off-by: andylokandy <[email protected]> * fix test Signed-off-by: andylokandy <[email protected]> * add test Signed-off-by: andylokandy <[email protected]> * fix clippy Signed-off-by: andylokandy <[email protected]> * address comment Signed-off-by: andylokandy <[email protected]> * fmt Signed-off-by: andylokandy <[email protected]> * address comment Signed-off-by: andylokandy <[email protected]> * address comment Signed-off-by: andylokandy <[email protected]> * rename vars Signed-off-by: andylokandy <[email protected]> * improve vars Signed-off-by: andylokandy <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
* sst_importer: check api version when importing ref tikv#10938 Signed-off-by: Peng Guanwen <[email protected]> * Fix bugs Signed-off-by: Peng Guanwen <[email protected]> * fix bug of Iterator::{scan,scan_cf} Signed-off-by: Peng Guanwen <[email protected]> * remove redundant log Signed-off-by: Peng Guanwen <[email protected]> * Show the entire key Signed-off-by: Peng Guanwen <[email protected]> * Fix lint issue Signed-off-by: Peng Guanwen <[email protected]> * resolve conflict Signed-off-by: andylokandy <[email protected]> Co-authored-by: Andy Lok <[email protected]>
* br: sperate io and scan threads Signed-off-by: Yu Juncen <[email protected]> * br/stream: make clippy happy Signed-off-by: yujuncen <[email protected]> * br/stream: fix tests Signed-off-by: Yu Juncen <[email protected]> * backup: fix a dummy bug Signed-off-by: Yu Juncen <[email protected]> * backup: add config of io-threads Signed-off-by: yujuncen <[email protected]> * backup: ref tikv#11350: some minior change Signed-off-by: yujuncen <[email protected]> * backup: added some metrics Signed-off-by: yujuncen <[email protected]> * backup: better tuning concurrency, and added a metric Signed-off-by: yujuncen <[email protected]> * backup: added some slow log and metrics Signed-off-by: yujuncen <[email protected]> * backup: address comments Signed-off-by: yujuncen <[email protected]> * backup: fix build Signed-off-by: yujuncen <[email protected]> * Revert "backup: fix build" This reverts commit 74537be. Signed-off-by: yujuncen <[email protected]> * Revert "backup: address comments" This reverts commit 77d7575. Signed-off-by: yujuncen <[email protected]> * backup: address comments Signed-off-by: yujuncen <[email protected]> * backup: always set IO type to Export Signed-off-by: yujuncen <[email protected]> * backup:make clippy happy Signed-off-by: yujuncen <[email protected]> * backup: address comments Signed-off-by: yujuncen <[email protected]>
ref tikv#11662 Signed-off-by: Ryan Leung <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
* Update kvproto Signed-off-by: Peng Guanwen <[email protected]> * Return api-version for br ref tikv#10938 Signed-off-by: Peng Guanwen <[email protected]> * Reformat code Signed-off-by: Peng Guanwen <[email protected]> * Update components/external_storage/export/src/export.rs Signed-off-by: Peng Guanwen <[email protected]> Co-authored-by: Andy Lok <[email protected]> * format code Signed-off-by: Peng Guanwen <[email protected]> Co-authored-by: Andy Lok <[email protected]>
* limit thread_io target os Signed-off-by: MuZhou233 <[email protected]> * limit thread_io target os. typo. close tikv#11698 Signed-off-by: MuZhou233 <[email protected]> Co-authored-by: Yilin Chen <[email protected]>
Close tikv#10688 Patch fs2 to https://github.com/tabokie/fs2-rs/tree/tikv. In which, `posix_fallocate` is replaced with `fallocate` (danburkert/fs2-rs#42). * bypass file allocate implementation in fs2 Signed-off-by: tabokie <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
…kv#12315) close tikv#12278, ref tikv#12309 Fix test_delegate_subscribe_unsubscribe flaking test. Use the corresponding id, otherwise there will be failures due to concurrent runs of the test. (We will assign downstream ids concurrently). Signed-off-by: ti-srebot <[email protected]> Co-authored-by: 二手掉包工程师 <[email protected]> Co-authored-by: qupeng <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
|
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
12 tasks
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: Wish <[email protected]>
…raftstore-proxy-6.0-try
solotzg
approved these changes
May 11, 2022
Signed-off-by: mornyx <[email protected]>
…g on ARM (pingcap#61) Signed-off-by: mornyx <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
close tikv#11379, close tikv#11598, close tikv#12107 when memory usage is high water, add flow control on the append log entries. disable log entry cache evict functions. Signed-off-by: tier-cap <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]> Signed-off-by: CalvinNeo <[email protected]>
…ine-ext into raftstore-proxy-6.0-try
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
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 pingcap/tiflash#4618
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note