Commit Graph

48 Commits

Author SHA1 Message Date
6d1b227dee txn: support pessimistic rollback with scan first in mockstore (#50732)
* support pessimistic rollback with scan first in mockstore

Signed-off-by: cfzjywxk <cfzjywxk@gmail.com>

* format

Signed-off-by: cfzjywxk <cfzjywxk@gmail.com>

* change function name

Signed-off-by: cfzjywxk <cfzjywxk@gmail.com>

---------

Signed-off-by: cfzjywxk <cfzjywxk@gmail.com>
2024-01-31 12:15:48 +08:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
c072334a99 *: impl mock PD service discovery and update pd client version (#50718)
ref pingcap/tidb#35319
2024-01-26 03:39:21 +00:00
bbbada0dde backup: advacned prepare implementation (#48439)
close pingcap/tidb#50359
2024-01-17 13:03:16 +00:00
22d2f6ddcf expression: remove useless HandleOverflowOnSelection (#50279)
close pingcap/tidb#50278
2024-01-11 10:15:25 +00:00
eaab02f977 store: let MockRegionManager check region epoch and split region in same lock (#50250)
close pingcap/tidb#50177
2024-01-10 07:52:55 +00:00
75aa3c7b6e store/mockstore: revert using store image to accelerate unit test (#50211)
ref pingcap/tidb#42434
2024-01-09 08:11:00 +00:00
c21846e2c8 test: fix unstable test TestFlashbackSchema (#50156)
close pingcap/tidb#50153
2024-01-08 12:52:53 +00:00
e811ef2325 fix: check kill signal against 0 (#50029)
ref pingcap/tidb#49643
2024-01-08 05:09:29 +00:00
6bff4aaa1f store: fix goleak for syscall (#50142)
close pingcap/tidb#50141
2024-01-05 14:01:52 +00:00
6eea739d4c testkit,store/mockstore: make store image to accelerate unit test (#42521)
close pingcap/tidb#42434
2024-01-05 09:05:41 +00:00
e19e06e1bc executor: support recovery mem limit error in disagg tiflash mode (#49401)
close pingcap/tidb#49574
2023-12-29 06:07:58 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
291875a689 *: support setting txn-entry-size-limit by sys var (#49237)
close pingcap/tidb#49236
2023-12-25 09:43:58 +00:00
7c5058a789 refactor server pkg's warning and note generation (#49714)
Signed-off-by: AilinKid <314806019@qq.com>
2023-12-22 17:53:15 +08:00
e3fdbbfc17 store/gcworker: remove green gc (#49333)
close pingcap/tidb#49330
2023-12-22 06:18:24 +00:00
a9317bebab driver: update the PD HTTP client to support source mark (#49578)
ref pingcap/tidb#35319
2023-12-19 08:42:22 +00:00
ecbaed6f34 infosync, helper: add caller ID to the PD HTTP client on the hot path (#49134)
ref pingcap/tidb#35319
2023-12-14 14:39:19 +00:00
9e34417f97 test: ignore some expected goroutine leak (#49320)
close pingcap/tidb#43430
2023-12-11 06:43:50 +00:00
7353fbeea8 infosync: fully integrated PD HTTP client into InfoSyncer (#49006)
ref pingcap/tidb#35319
2023-12-01 11:23:49 +00:00
b01658914e *: fix goleak in the client-go (#49046)
close pingcap/tidb#49038
2023-11-30 10:57:11 +00:00
c82e19c0c2 infosync: integrate PD HTTP client into the placement manager (#48858)
ref pingcap/tidb#35319
2023-11-27 09:44:51 +00:00
29e36ea7e3 store/mockstore: Use Expression.Eval to replace EvalWithInnerCtx for mockstore (#48771)
close pingcap/tidb#48770
2023-11-24 15:46:13 +00:00
707f860527 util/rowcodec,tablecodec: remove stmtctx dependency from rowcodec and tablecodec (#48816)
close pingcap/tidb#48751
2023-11-23 10:19:13 +00:00
b8515ae354 session: move session interface into new package (#48792)
ref pingcap/tidb#44940
2023-11-23 05:28:11 +00:00
7e8de2f1c7 infosync: integrate PD HTTP client into the label manager (#48738)
ref pingcap/tidb#35319
2023-11-23 04:53:41 +00:00
9062834986 expression: add ctx to expression.Eval (#48609)
close pingcap/tidb#48608
2023-11-22 05:29:40 +00:00
3d176fcc2c util/codec,util/errctx,*: add error context, and use it to refactor util/codec (#48613)
close pingcap/tidb#48611
2023-11-20 13:53:40 +00:00
20e72af422 *: pass connection_id and connection_alias to tiflash (#48471)
close pingcap/tidb#48470
2023-11-20 05:40:11 +00:00
95759f44bd *: further adaptation to PD HTTP client (#48606)
ref pingcap/tidb#35319
2023-11-20 04:20:42 +00:00
657f0d94a9 pkg: stop using math/rand.Seed (#48653) 2023-11-17 06:00:53 +00:00
0f35b6f813 *: integrate PD HTTP client to the store helper (#48276)
ref pingcap/tidb#35319
2023-11-15 04:47:16 +00:00
7396e54bfa copr: fix copr cache panic when tidb_enable_collect_execution_info is off (#48340)
close pingcap/tidb#48212
2023-11-09 08:23:20 +00:00
64e5ea0622 domain: add resolve lock logic for mvcc get key loading schema diff (#48330)
close pingcap/tidb#48281
2023-11-08 08:50:13 +00:00
0d9a4ce8b8 *: update linter (#48252)
ref pingcap/tidb#40786
2023-11-06 07:18:41 +00:00
c1e28f31b7 ddl, table: improve the efficiency of adding index (#48184)
ref pingcap/tidb#47757
2023-11-02 14:35:09 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +00:00
733b10bf5a *: unify the use of PD API URL constants (#48132)
ref pingcap/tidb#35319
2023-11-01 09:29:07 +00:00
cd0587eb75 *: replace mathutil.Max/Min with built-in max/min (#47939)
ref pingcap/tidb#45933
2023-10-25 11:18:33 +00:00
f3dfd896b5 executor: update client-go to fix #35418 (#47951)
close pingcap/tidb#35418
2023-10-25 05:59:03 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +00:00
084717902b *: handle region error for GetMvccByEncodedKey API (#47811)
close pingcap/tidb#47807
2023-10-20 01:37:59 +00:00
987663fff7 types: use flags in types package to handle clip zero case (#47543)
close pingcap/tidb#47518
2023-10-19 08:15:30 +00:00
90bd2dde4d stmtctx, *: change TypeCtx field to a private field (#47742)
close pingcap/tidb#47698, close pingcap/tidb#47752
2023-10-19 05:22:59 +00:00
3ef01b5882 types, *: move truncate flags to the types context (#47522)
close pingcap/tidb#47511
2023-10-18 05:15:29 +00:00
46db212059 gc_worker_test: Print error to the failure message when mustGetNone encounters unexpected error (#47709)
ref pingcap/tidb#47023
2023-10-17 07:46:58 +00:00
b3dcf596b2 disttask: define TaskType/TaskState/Step instead of string/int64 (#47611)
ref pingcap/tidb#46258
2023-10-16 06:12:27 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00