JmPotato
|
08694efec4
|
Fix the check
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-19 16:31:47 +08:00 |
JmPotato
|
320af6501e
|
Introduce the switch
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-19 16:14:47 +08:00 |
JmPotato
|
88f730126e
|
Merge the upstream
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-19 12:19:51 +08:00 |
JmPotato
|
d4ffd3d25b
|
Update the go.mod
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-19 12:18:26 +08:00 |
JmPotato
|
494bebd702
|
Rename
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-19 11:50:30 +08:00 |
iosmanthus
|
7409e690af
|
check API V2 key in DecodeKey (#666)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
|
2023-01-19 10:13:17 +08:00 |
disksing
|
bd55989520
|
fix integration test (#673)
Signed-off-by: disksing <i@disksing.com>
|
2023-01-18 20:19:38 +08:00 |
JmPotato
|
35b648cf98
|
Address the comments
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-18 20:15:50 +08:00 |
Hu#
|
2a02753d9c
|
client: update pd/client to repair kvproto compatibility (#667)
Signed-off-by: HuSharp <jinhao.hu@pingcap.com>
|
2023-01-18 19:18:40 +08:00 |
JmPotato
|
6ee294fedf
|
Introduce the resource control client
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2023-01-18 17:14:24 +08:00 |
fengou1
|
fe5b35c5f5
|
refactor: range task log with more accurate info (#657)
Signed-off-by: fengou1 <feng.ou@pingcap.com>
|
2023-01-12 14:20:23 +08:00 |
Smilencer
|
f2ff1ce65d
|
add tombstone check (#660)
Signed-off-by: Smityz <smityz@qq.com>
Co-authored-by: disksing <i@disksing.com>
|
2023-01-12 13:23:02 +08:00 |
Yilin Chen
|
a2964b7151
|
Add a background region cache GC goroutine (#664)
* Add a background region cache GC goroutine
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
* Change interval to 1s and regionPerRound to 50
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
|
2023-01-11 16:47:55 +08:00 |
Yang Zhang
|
1b1a805e61
|
Support learner replica read (#643)
Signed-off-by: Yang Zhang <yang.zhang@pingcap.com>
|
2023-01-11 14:37:06 +08:00 |
Lucas
|
c59833429b
|
Bug fix: fix the Round-Robin algorithm when "ReadMode == ReplicaReadMixed". (#663)
Signed-off-by: Lucasliang <nkcs_lykx@hotmail.com>
|
2023-01-11 14:15:36 +08:00 |
David
|
f313ddf58d
|
reformat codec and add keyspace support (#649)
Signed-off-by: David <8039876+AmoebaProtozoa@users.noreply.github.com>
|
2023-01-10 15:15:33 +08:00 |
Zwb
|
c20405f345
|
support witness peers (#633)
Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
|
2023-01-09 20:53:19 +08:00 |
wjHuang
|
2d2a3fa00e
|
*: remove the support of `amend transaction` (#635)
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* fix test
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* fix lint
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* fix test
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2023-01-09 16:30:27 +08:00 |
glorv
|
4e1d38d8f8
|
add resource group name in request context (#650)
Signed-off-by: glorv <glorvs@163.com>
|
2023-01-09 15:18:45 +08:00 |
Weizhen Wang
|
5a4b9accad
|
fix data race in the LockKeys (#655)
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
|
2023-01-06 13:31:13 +08:00 |
haojinming
|
1780ed1dca
|
Fix security alert (#654)
Signed-off-by: haojinming <jinming.hao@pingcap.com>
|
2023-01-05 13:54:53 +08:00 |
MyonKeminta
|
0f633e4163
|
Fix incorrect insertion behavior in aggressive locking mode and add tests (#651)
* Add more tests and fix the bug of insert in aggressive locking
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix tests
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Fix insert test
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Avoid primary re-selecting in TestAggressiveLockingLoadValueOptionChanges
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
* Address comments
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
|
2023-01-04 15:24:09 +08:00 |
tiancaiamao
|
43601f3d49
|
go.mod: update github.com/tiancaiamao/gp (#652)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
2022-12-30 17:39:35 +08:00 |
tiancaiamao
|
018c59dbd8
|
bind the goroutine pool with store and close on Close (#645)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
2022-12-26 16:01:48 +08:00 |
hehechen
|
fe3536dd59
|
MinSafeTS support TiFlash (#642)
Signed-off-by: hehechen <awd123456sss@gmail.com>
|
2022-12-19 17:16:53 +08:00 |
Liqi Geng
|
a4f5c00b46
|
region_cache: refine GetTiFlashComputeRPCContextByConsistentHash
Signed-off-by: guo-shaoge shaoge1994@163.com
|
2022-12-19 15:59:31 +08:00 |
guo-shaoge
|
0bf06e87bf
|
update log
Signed-off-by: guo-shaoge <shaoge1994@163.com>
|
2022-12-18 13:57:23 +08:00 |
guo-shaoge
|
60119cdd7a
|
fix errors.Errorf
Signed-off-by: guo-shaoge <shaoge1994@163.com>
|
2022-12-17 16:46:55 +08:00 |
guo-shaoge
|
ffc2788663
|
region_cache: refine GetTiFlashComputeRPCContextByConsistentHash(for detect alive)
Signed-off-by: guo-shaoge <shaoge1994@163.com>
|
2022-12-17 16:41:11 +08:00 |
TonsnakeLin
|
c446b885bd
|
RuntimeStat: Clone `SnapshotRuntimeStats` Completely (#641)
* add more info for cloning SnapshotRuntimeStats
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
* add more info for cloning SnapshotRuntimeStats
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
* shallow copy SnapshotRuntimeStats
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
Co-authored-by: Yilin Chen <sticnarf@gmail.com>
|
2022-12-16 10:15:14 +08:00 |
tiancaiamao
|
809eb2d10f
|
use goroutine pool to avoid the `runtime.newstack` call (#637)
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
|
2022-12-14 16:16:36 +08:00 |
ekexium
|
6d5cb2da49
|
don't call onMemChange before all work is done in memdb (#636)
Signed-off-by: ekexium <eke@fastmail.com>
|
2022-12-08 12:30:56 +08:00 |
ekexium
|
ad59ca833a
|
fix: do not call onMemChange in alloc, since it will make the latest block empty, which breaks a precondition for some operations (e.g. revertToCheckpoint) (#632)
Signed-off-by: ekexium <eke@fastmail.com>
|
2022-12-05 16:43:17 +08:00 |
Chen Ding
|
50651d6bb5
|
precompute min safe ts (#622)
Signed-off-by: hihihuhu <dingc05@gmail.com>
|
2022-12-02 11:55:43 +08:00 |
MyonKeminta
|
5dc09b15e7
|
Add aggressive-locking mechanism and support locking with conflict (#528)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
|
2022-12-01 11:03:39 +08:00 |
Hangjie Mo
|
857772dd09
|
go.mod: update kvproto to adapt flashback (#626)
* go.mod: update kvproto to adapt flashback
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
* update go.mod
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
|
2022-11-29 11:21:17 +08:00 |
Weizhen Wang
|
81939ec8b2
|
fix data race at the memChangeHook (#625)
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
|
2022-11-28 10:56:02 +08:00 |
Weizhen Wang
|
f05c6886bb
|
fix data race in test (#624)
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
|
2022-11-25 10:28:19 +08:00 |
ekexium
|
92f0a82e1a
|
fix: avoid data race when setting memdb footprint hook (#621)
Signed-off-by: ekexium <eke@fastmail.com>
|
2022-11-24 11:10:13 +08:00 |
xiongjiwei
|
e9db9e6a8a
|
make `txn_source` be u64 type (#618)
Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>
|
2022-11-21 10:50:13 +08:00 |
xiongjiwei
|
e72337b647
|
txn: add `txn_source` field in txn (#617)
Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>
|
2022-11-15 13:18:26 +08:00 |
Hangjie Mo
|
9c0835c80e
|
util: update GCTimeFormat to be the same as the value stored in PD (#616)
Signed-off-by: Jason Mo <mohangjie1995@gmail.com>
|
2022-11-08 11:08:01 +08:00 |
Hangjie Mo
|
ec1202a9d2
|
tikv: skip 0 when call `getMinSafeTSByStores` (#615)
Signed-off-by: Hangjie Mo <mohangjie1995@gmail.com>
|
2022-11-03 16:45:28 +08:00 |
YangKeao
|
8f35d3a669
|
upgrade tidb in integration test (#614)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
|
2022-11-02 10:57:41 +08:00 |
YangKeao
|
30e803b708
|
implement the external timestamp client (#610)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
|
2022-10-31 14:32:02 +08:00 |
YangKeao
|
4760b32350
|
upgrade pd client and implement mock store (#611)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
|
2022-10-31 14:24:53 +08:00 |
Ping Yu
|
f0ef29bccd
|
rawkv: permit empty value (#612)
Signed-off-by: pingyu <yuping@pingcap.com>
|
2022-10-31 12:25:56 +08:00 |
ekexium
|
6c9c7c7c58
|
Fix the false positive assertion error caused by loss of pessimistic locks (#596)
Signed-off-by: ekexium <eke@fastmail.com>
|
2022-10-26 16:34:54 +08:00 |
JmPotato
|
91be9c6ce6
|
Introduce the FlashbackNotPrepared error (#606)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2022-10-17 17:26:35 +08:00 |
guo-shaoge
|
e76cd3e240
|
region_cache: only load UP tiflash_mpp store (#598)
Signed-off-by: guo-shaoge <shaoge1994@163.com>
|
2022-10-13 14:54:37 +08:00 |