Skip to content

Fff#161

Closed
CalvinNeo wants to merge 186 commits intopingcap:raftstore-proxyfrom
CalvinNeo:fff
Closed

Fff#161
CalvinNeo wants to merge 186 commits intopingcap:raftstore-proxyfrom
CalvinNeo:fff

Conversation

@CalvinNeo
Copy link
Member

What problem does this PR solve?

Issue Number: close #xxx

Problem Summary:

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

YangKeao and others added 30 commits March 19, 2022 16:58
close tikv#9765

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Signed-off-by: tier-cap <zhengxiaojin@pingcap.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
close tikv#12161

Signed-off-by: tabokie <xy.tao@outlook.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
close tikv#12235, ref tikv#12236

Shouldn't report config related errors when bucket is disabled.

Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
close tikv#12218

Use the results returned by the cpu limiter directly without extra processing

Signed-off-by: Xintao <hunterlxt@live.com>
Signed-off-by: linning <linningde25@gmail.com>
…2152)

close tikv#11915

tikv_worker_pending_task_total is a gauge. We should directly use its value
to represent the pending tasks instead of using rate(). This PR removes the
rate() on these metrics.

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
close tikv#12234

Signed-off-by: mornyx <mornyx.z@gmail.com>

Co-authored-by: Zhenchi <zhongzc_arch@outlook.com>
…cost (tikv#12264)

Signed-off-by: Xintao <hunterlxt@live.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
…eeded (tikv#12251)

close tikv#12232

raftstore: only persist merge target if the merge is known to be succeeded

Signed-off-by: linning <linningde25@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
close tikv#12240

split the initializer from the endpoint

Signed-off-by: hi-rustin <rustin.liu@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
…ikv#12280)

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
close tikv#12238, ref tikv#12238

Signed-off-by: tabokie <xy.tao@outlook.com>

Co-authored-by: Xintao <hunterlxt@live.com>
close tikv#12198, close tikv#12202

update grpcio to fix UAF

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
…v#12270)

close tikv#11439

Signed-off-by: SpadeA-Tang <u6748471@anu.edu.au>
Signed-off-by: tabokie <xy.tao@outlook.com>
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 <zhengxiaojin@pingcap.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
close tikv#12014

Signed-off-by: Jayice <1185430411@qq.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: disksing <i@disksing.com>
close tikv#12046

If a read index request travel too long in the network, a leader may receive the
request it sent when it's still follower and break the strict order pending read
assumption.

This PR solves the problem by ignoring invalid read states. It also adds a defense
check to ignore all ReadIndex messages when it's sent by current leader.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ref tikv#11965

* Add `causal_ts` component for causal timestamp generation & management.
* Implement causal timestamp provider from "batch" TSO from PD (see `causal_ts::BatchTsoProvider`).
* Append timestamp to keys of RawKV in `QueryObserver.pre_propose_query`.
* Setup causal timestamp observer when API V2 enabled (comment out)

Signed-off-by: pingyu <yuping@pingcap.com>
Signed-off-by: Andy Lok <andylokandy@hotmail.com>

Co-authored-by: Andy Lok <andylokandy@hotmail.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
close tikv#12257

Signed-off-by: glorv <glorvs@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: qi.xu <tonxuqi@outlook.com>
close tikv#12322

Use generic to reduce duplicated code and extract KvEngineFactory
for reuse in tests and future usage.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ref tikv#11965, ref tikv#12207

Add APIVersion as generic parameter of `Storage`.

Signed-off-by: pingyu <yuping@pingcap.com>
@CLAassistant
Copy link

CLAassistant commented Sep 7, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
6 out of 11 committers have signed the CLA.

✅ hehechen
✅ CalvinNeo
✅ heibaijian
✅ lidezhu
✅ breezewish
✅ Lloyd-Pottiger
❌ pingyu
❌ tonyxuqqi
❌ ti-srebot
❌ jiayang-zheng
❌ BusyJay
You have signed the CLA already but the status is still pending? Let us recheck it.

f
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
This reverts commit 1ab3805.
This reverts commit 0fb68cb.
f
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
@CalvinNeo CalvinNeo mentioned this pull request Sep 7, 2022
12 tasks
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
f
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
d
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
@CalvinNeo CalvinNeo closed this Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.