Commit Graph

1153 Commits

Author SHA1 Message Date
9a2ed52119 server, sessionctx: support token-based authentication (#36152)
close pingcap/tidb#35913
2022-07-14 18:29:06 +08:00
7953d60c1b *: switch to flat plan in stmt summary, slow log, etc (#36069)
ref pingcap/tidb#35888
2022-07-14 17:37:06 +08:00
2193bfe3b7 *: remove system var tidb_enable_change_multi_schema (#36167)
ref pingcap/tidb#14766
2022-07-14 10:37:05 +08:00
a0e4ba9dc6 planner: Reduce verbosity of logging unknown system variables (#36013)
close pingcap/tidb#36011
2022-07-13 15:57:06 +08:00
7458c3ec2e sessionctx: support signing and checking tokens (#36030)
close pingcap/tidb#36029
2022-07-12 20:33:05 +08:00
1a9a7a614c statistics,planner: let index support sync stats (#35879)
ref pingcap/tidb#35764
2022-07-11 17:23:05 +08:00
f3eb0f5c26 txn: remove NewTxn and NewStaleTxnWithStartTS in session (#35885)
close pingcap/tidb#35884
2022-07-07 19:27:02 +08:00
562b033689 telemetry: Initialize telemetry asynchronously (#35898)
close pingcap/tidb#35897
2022-07-06 17:35:02 +08:00
b40fc86538 session, sessionctx/variable: ensure sysvars are always in lower case (#35659)
close pingcap/tidb#35658
2022-07-06 16:49:02 +08:00
c76d686e67 *: add telemetry support for multi-schema change (#35977)
ref pingcap/tidb#14766
2022-07-06 16:27:03 +08:00
ec9f201294 topsql: compress plan instead of dropping it (#35973)
ref pingcap/tidb#35964
2022-07-06 16:03:02 +08:00
2df6be5282 *: Make the code cleaner in session.ExecutePreparedStmt (#35943)
close pingcap/tidb#35925
2022-07-06 12:51:02 +08:00
441c9cde30 txn: rename snapshot related methods in txnManager. (#35912)
close pingcap/tidb#35915
2022-07-05 12:37:01 +08:00
157c178f27 *: seperate TxnScope and ReplicaReadScope (#35877)
close pingcap/tidb#31772
2022-07-05 11:33:02 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
c836501f89 server, session: report an error when the session states cannot be fetched (#35892)
close pingcap/tidb#35866
2022-07-04 12:31:00 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
16e5815f18 txn: txnManager providers GetReadSnapshot and GetForUpdateSnapshot. (#35788)
close pingcap/tidb#35810
2022-07-01 18:12:40 +08:00
ff20343fda sessionctx, bindinfo: Support encoding and decoding session SQL bindings (#35861)
close pingcap/tidb#35847
2022-07-01 17:22:39 +08:00
556cf75ebd metric: Add transaction state's metric (#34845)
ref pingcap/tidb#34456
2022-07-01 16:56:40 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
11f39cd77a txn: unify the management of transaction activation by TxnManager. (#35679)
close pingcap/tidb#35705
2022-06-30 13:40:39 +08:00
4fc86936ff sessionctx: support encoding and decoding prepared statements (#35808)
close pingcap/tidb#35689
2022-06-30 11:56:38 +08:00
5b305c34f8 txn: manage the initialization of RCCheckTS by transaction context provider (#35554)
close pingcap/tidb#35497
2022-06-29 16:14:39 +08:00
f0d5f6e9cd txn: remove legacy.SimpleTxnContextProvider (#35667)
close pingcap/tidb#35666
2022-06-29 13:52:39 +08:00
31c92c67bc sessionctx: support encoding and decoding statement context (#35688)
close pingcap/tidb#35664
2022-06-27 12:20:39 +08:00
2bd4c4a3a0 *: enable ineffassign (#35670)
close pingcap/tidb#35345
2022-06-23 16:08:37 +08:00
966844bf50 *: enable durationcheck for nogo linter (#35661)
ref pingcap/tidb#35345
2022-06-23 14:28:37 +08:00
e44277d8fe sessionctx: support encoding and decoding session contexts (#35648)
close pingcap/tidb#35573
2022-06-23 12:46:36 +08:00
df9b54bcb3 txn, session: Add (cluster_)trx_summary table (#28835)
ref pingcap/tidb#34457
2022-06-23 11:16:36 +08:00
193f04db70 session,sessionctx: enable tidb_enable_paging by default (#35275)
close pingcap/tidb#35273
2022-06-23 08:32:37 +08:00
3de73d1be9 session, session_test: Improve read-only for autocommit statements (#35487)
close pingcap/tidb#32895
2022-06-22 20:32:39 +08:00
3b34234ecf session: improve bootstrap code (#34755)
close pingcap/tidb#34754
2022-06-22 00:06:36 +08:00
e0527ba27c sessionctx: support encoding and decoding session variables (#35531)
close pingcap/tidb#35414
2022-06-21 19:20:36 +08:00
2e1e3f1269 *: Introduce OptimisticTxnContextProvider for optimistic txn (#35131)
close pingcap/tidb#35130
2022-06-21 00:04:37 +08:00
44623f03f4 *: enable more flaky and update bazel config (#35500)
ref pingcap/tidb#35247
2022-06-20 21:46:37 +08:00
45a9a7e5ab txn: fix bug that some times lock ts and read ts are not the same (#35470)
close pingcap/tidb#35459
2022-06-17 18:20:36 +08:00
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +08:00
b91bdd0876 txn: Provide PessimisticSerializableTxnContextProvider for Serializable isolation (#35146)
close pingcap/tidb#35150
2022-06-13 14:54:34 +08:00
738f681d61 *: Introduce PessimisticRRTxnContextProvider for pessimistic repeatable read txn (#35158)
close pingcap/tidb#35129
2022-06-13 11:44:34 +08:00
58ceefc5b0 txn: skip the transaction start_ts used by analyze calculating the gc (#35210)
close pingcap/tidb#35062
2022-06-10 12:16:30 +08:00
af48312465 log: add isPessimistic field in general log (#34972)
close pingcap/tidb#34971
2022-06-09 19:52:30 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
85967fd3be *: implement chunk rpc encoding for unistore (#35114)
close pingcap/tidb#35113
2022-06-06 23:20:29 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
c5393d0367 *: use pdqsort to sort and remove BCE (#35087)
ref pingcap/tidb#34250
2022-06-01 10:48:27 +08:00
1fac141f35 *: close the resource on error to aovid resource leak (#34837)
close pingcap/tidb#34666, ref pingcap/tidb#34849
2022-05-30 18:00:27 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
ee800f4e5e planner: check infoSchema when builing cacheKey (#34957)
close pingcap/tidb#34974
2022-05-27 19:42:48 +08:00