Commit Graph

933 Commits

Author SHA1 Message Date
Ryan Leung 23abf0a9c8
*: bump pd client (#1542)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2025-01-07 05:34:22 +00:00
Shirly f2025c1297
region_request: tiny refactor - init function failpointSendReqResult (#1523)
Signed-off-by: AndreMouche <AndreMouche@126.com>
2025-01-02 09:55:21 +00:00
ekexium 743aec19e4
Allow configuring the policy when prewrite encounters lock (#1501)
Signed-off-by: ekexium <eke@fastmail.com>
2025-01-02 05:53:15 +00:00
cfzjywxk 078462f59f
CI: disable tidb compatible test in merge CI (#1541)
Signed-off-by: cfzjywxk <cfzjywxk@gmail.com>
2024-12-30 09:21:48 +00:00
crazycs 15c9cdb119
change ci reference to original tidb (#1540)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2024-12-30 03:58:15 +00:00
zyguan e0415dcb20
txnkv: introduce ballast object to batch-get worker (#1535)
Signed-off-by: zyguan <zhongyangguan@gmail.com>
2024-12-25 10:08:54 +00:00
crazycs f2266d6bf2
*: Optimize executor runtime stats performance (#1532)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2024-12-25 04:06:45 +00:00
JmPotato fd950fcf9f
Update the PD client to adopt tikv/pd#8943 (#1536)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2024-12-23 07:08:48 +00:00
you06 c5d92baf49
oracle: `setLastTS` always push tso to higher value (#1533)
Signed-off-by: you06 <you1474600@gmail.com>
2024-12-20 06:12:51 +00:00
JmPotato ff126df68a
Upgrade the PD client to adopt the latest refactor (#1525)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2024-12-20 05:23:27 +00:00
okJiang 2572ee4a7b
metrics: add StaleRegionFromPDCounter (#1530)
ref tikv/pd#7431

Signed-off-by: okJiang <819421878@qq.com>
2024-12-19 07:55:51 +00:00
MyonKeminta 8e0275cc8d
Fix the problem that ttlManager may stop working if no need to lock after retry aggressive locking (#1522)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2024-12-17 09:14:33 +00:00
cfzjywxk 43d2db704a
memdb: refactor code of art to make it more understandable (#1508)
Signed-off-by: cfzjywxk <lsswxrxr@163.com>
2024-12-16 10:46:15 +00:00
ShuNing 0e4728cfaa
*: add the traffic statistic (#1505)
ref pingcap/tidb#57543

Signed-off-by: nolouch <nolouch@gmail.com>
2024-12-16 06:58:54 +00:00
MyonKeminta 06d7f4b923
Try to validate read ts for all RPC requests (#1513)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2024-12-09 09:49:30 +00:00
mittalrishabh c65273eeb1
retry as stale read on replica (#1509)
Signed-off-by: rishabh_mittal <mittalrishabh@gmail.com>
2024-12-02 07:37:11 +00:00
Bin Zhang 89643b0e8c
Export commitTS of KVTxn (#1489)
Signed-off-by: Bin Zhang <b6g2021@gmail.com>
2024-11-27 07:15:26 +00:00
you06 05d115b3e8
memdb: retain old version nodes of ART to satisfy snapshot read (#1503)
ref pingcap/tidb#57425

Signed-off-by: you06 <you1474600@gmail.com>
2024-11-20 02:44:59 +00:00
MyonKeminta 3eb6e787c0
Fix the problem that adaptive update interval doesn't recovers back and there's too much logs about setting the config (#1502)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2024-11-19 06:30:11 +00:00
you06 8b0547ae39
clean up locks when p-dml is failed (#1486)
Signed-off-by: you06 <you1474600@gmail.com>
2024-11-18 07:21:14 +00:00
ekexium 983d7ff3d3
Fix the async broadcast & resolveFlushedLocks (#1493)
close pingcap/tidb#57213

Signed-off-by: ekexium <eke@fastmail.com>
2024-11-18 02:31:11 +00:00
Neil Shen 245d2c39cc
go.mod: update kvproto (#1492)
Signed-off-by: Neil Shen <overvenus@gmail.com>
2024-11-15 06:51:08 +00:00
you06 86678db6fd
membuffer: fix memory leak in red-black tree (#1483)
close tikv/client-go#1375, ref pingcap/tidb#56837

Signed-off-by: you06 <you1474600@gmail.com>

Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>
2024-11-14 14:41:17 +00:00
ShuNing 70049ae310
mod: update pd client (#1490)
Signed-off-by: nolouch <nolouch@gmail.com>
2024-11-11 09:02:27 +00:00
MyonKeminta 23531ad618
Support adaptive update interval for low resolution ts (#1484)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2024-11-11 07:51:03 +00:00
you06 c154447fa5
membuffer: compare the keys of ART by chunk (#1482)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-11-07 08:45:30 +00:00
you06 0232600d68
membuffer: improve ART's code and test coverage (#1477)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-10-31 01:41:22 +00:00
cfzjywxk 691e80ae0e
region cache: retry scan or batch scan regions when returned region has no leader (#1480)
Signed-off-by: cfzjywxk <cfzjywxk@gmail.com>
2024-10-23 02:31:20 +00:00
lance6716 8dfa86b5d1
dep: update github.com/dgryski/go-farm (#1476)
ref pingcap/tidb#56635

Signed-off-by: lance6716 <lance6716@gmail.com>
2024-10-15 06:50:14 +00:00
Ti Chi Robot f898214f67
OWNERS: Auto Sync OWNERS files from community membership (#1475)
Signed-off-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2024-10-14 17:14:00 +00:00
Weizhen Wang e30a3e6e3a
*: upgrade go1.23 (#1473)
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2024-10-11 06:35:57 +00:00
ekexium bce97bbb3e
Do not broadcast txn status when heartbeat fail (#1471)
Signed-off-by: ekexium <eke@fastmail.com>
2024-10-10 05:27:19 +00:00
you06 c3e10ae7c8
membuffer: implement cache for ART (#1470)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-10-08 08:58:09 +00:00
you06 58f3322fc3
membuffer: implement snapshot get and iterator for ART (#1467)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-09-25 07:03:02 +00:00
ekexium 527f80a186
feat: Broadcast min_commit_ts for pipelined transactions (#1458)
Signed-off-by: ekexium <eke@fastmail.com>
2024-09-25 01:34:14 +00:00
you06 7d0f0bc93b
membuffer: support iterator for ART (#1466)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-09-24 11:38:48 +00:00
you06 271945f345
membuffer: support staging & checkpoint for ART (#1465)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-09-23 03:55:13 +00:00
you06 6beede6998
membuffer: implement ART with basic get/set (#1451)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-09-18 09:25:22 +00:00
crazycs e7894a7b27
config: change grpc-keepalive-timeout from uint to float64, for support millisecond timeout (#1461)
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Co-authored-by: MyonKeminta <9948422+MyonKeminta@users.noreply.github.com>
2024-09-11 04:15:06 +00:00
Ti Chi Robot 28135fd9d4
OWNERS: Auto Sync OWNERS files from community membership (#1460)
Signed-off-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2024-09-09 12:12:20 +00:00
Ti Chi Robot 287b364bd6
OWNERS: Auto Sync OWNERS files from community membership (#1459)
Signed-off-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2024-09-09 03:18:51 +00:00
YangKeao f0ea917499
transaction: add hook for async commit to track the life cycle of the async-commit goroutine and secondary lock cleanup goroutine (#1432)
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
2024-09-04 09:21:32 +00:00
you06 6b1453c358
memdb: use atomic u64 addr to reduce allocation (#1453)
Signed-off-by: you06 <you1474600@gmail.com>
2024-08-28 04:00:17 +00:00
you06 41d133b6b6
membuffer: refactor the memdb to support multi implementations (#1426)
ref pingcap/tidb#55287

Signed-off-by: you06 <you1474600@gmail.com>
2024-08-23 03:46:43 +00:00
you06 75e3705e58
memdb: fix memdb snapshot get/iter is not actually snapshot (#1393)
* fix memdb snapshot get/iter is not actually snapshot

Signed-off-by: you06 <you1474600@gmail.com>

* rename test

Signed-off-by: you06 <you1474600@gmail.com>

---------

Signed-off-by: you06 <you1474600@gmail.com>
2024-08-21 15:35:30 +08:00
Ti Chi Robot 77526daca4
OWNERS: Auto Sync OWNERS files from community membership (#1425)
Signed-off-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2024-08-19 13:01:42 +00:00
Ti Chi Robot 36076b3109
Merge pull request #1421 from tikv/bot/update-owners-1723456948376
OWNERS: Auto Sync OWNERS files from community membership
2024-08-19 11:19:09 +08:00
cfzjywxk eb941f71c3
Merge branch 'master' into bot/update-owners-1723456948376 2024-08-16 11:38:01 +08:00
you06 c810ed88fb
region_request: remove backoff for stale read (#1423)
* remove stale read backoff

Signed-off-by: you06 <you1474600@gmail.com>

* sort imports

Signed-off-by: you06 <you1474600@gmail.com>

---------

Signed-off-by: you06 <you1474600@gmail.com>
2024-08-15 10:09:19 +08:00
yibin 0820519da7
Add GetTimeDetail for SnapshotRuntimeStats (#1422)
Signed-off-by: yibin <huyibin@pingcap.cn>
2024-08-14 14:30:31 +08:00