Commit Graph

3500 Commits

Author SHA1 Message Date
Rico 104dd29d16 inner-1688:refactor the implementation of inner-1666 (#3185)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-23 16:24:52 +08:00
ylinzhu 3d3612c9b3 fix failed to release the distributed lock inner 1515 & 1590 (#3106) (#3190)
* fix failed to release the distributed lock inner 1515 & 1590 (#3106)

fix

fix
# Conflicts:
#	src/main/java/com/actiontech/dble/services/manager/handler/DbGroupHAHandler.java
#	src/main/java/com/actiontech/dble/singleton/PauseShardingNodeManager.java

* fix ci
2022-03-21 14:00:47 +08:00
Rico ed47e98d9d inner-1667: report error when use hint with "cartesian with relation" (#3187)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-21 14:00:16 +08:00
ylinzhu bea964442c fix global table nest loop hang inner 1685 (#3189) 2022-03-18 18:13:00 +08:00
ylinzhu af4eb21a11 hint transitivity is support inner 1684 (#3186)
* hint transitivity is support  inner 1684

* fix lgtm
2022-03-18 18:12:47 +08:00
ylinzhu 6a87963a07 Merge pull request #3191 from actiontech/1384
unified format inner 1384
2022-03-18 16:16:20 +08:00
lin c791576dde unified format inner 1384 2022-03-18 15:56:08 +08:00
wenyh cc5ca70515 [inner-1681] when rwSplitMode="0", don't participate in stickiness (#3180) 2022-03-17 15:18:13 +08:00
ylinzhu 9facd20e6e support clickhouse inner 1676 (#3176)
* support click house inner 1676

* Increase the supplement

* add blacklist

* add annotation
2022-03-17 15:16:31 +08:00
wenyh 40d9dba990 [inner-1586] during the period of the XA, front and back side accidentally disconnect does not affect the XA retry mechanism (#3179) 2022-03-17 13:22:52 +08:00
wenyh 1ba473ac46 [inner-1674] fix: nestloop scenarios's bug (#3172) 2022-03-14 16:39:32 +08:00
Collapsar aa2ff293a1 typo (#3183) 2022-03-11 17:10:59 +08:00
Collapsar 467211d3bf #3175 - short value of row data protocol fails to convert to binary protocol (#3181)
* #3175 - short value of row data protocol fails to convert to  binary protocol

* 

Co-authored-by: Huqing Yan <yanhuqing666@gmail.com>
2022-03-11 15:24:09 +08:00
Rico f6c26d240b inner-1666: discard left join when both left join and inner join exists (#3165)
* inner-1666: discard left join when both left join and inner join exists

Signed-off-by: dcy <dcy10000@gmail.com>

* inner-1666-supplement: fix string join

Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-11 12:58:08 +08:00
ylinzhu b0c78aeb49 fix nest loop in er condition error inner 1655 (#3171) 2022-03-09 10:54:10 +08:00
Rico f29f6cf522 inner-1581:flowcontrol_rw_split (#3082)] (#3173)
* inner-1581:flowcontrol_rw_split  (#3082)]

Signed-off-by: dcy <dcy10000@gmail.com>

* inner-1581-supplement:missing file

Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-09 09:56:37 +08:00
Rico 7be312a60f inner-1672: column around with `` can't be route (#3163)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-08 15:26:38 +08:00
Rico f5d80e564b Revert "inner-1669: no need to optimize join if the hint order same as execution plan tree (#3162)" (#3170)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-08 10:18:38 +08:00
Rico c580245ba4 inner-1669: no need to optimize join if the hint order same as execution plan tree (#3162)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-03-04 14:00:59 +08:00
Collapsar b40130610c improve heartbeat log (#3158) 2022-03-02 10:35:01 +08:00
LUA 6b30180477 fix: support BIN/SUBSTRING function (#3161)
* fix: support BIN/SUBSTRING function
BIN:https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_bin
SUBSTRING:https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_substring

* fix: checkstyle
2022-03-01 17:57:27 +08:00
Rico 21601a9b4d inner-1648-supplement: report The ER relation limit (#3159)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-28 16:59:19 +08:00
ylinzhu a8710dfdf7 fix nestloop sql hang inner 1651 (#3152) 2022-02-25 14:38:20 +08:00
Rico 3717fa7b44 inner-1654:optimize report for hint (#3154)
* inner-1654:optimize report for hint

Signed-off-by: dcy <dcy10000@gmail.com>

* inner-1654-supplement:typo

Signed-off-by: dcy <dcy10000@gmail.com>

* fix ci

Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-24 13:42:49 +08:00
LUA 5120e6ca35 fix: add split_loaddata (#3157)
fix: add split_loaddata

fix: add split_loaddata
2022-02-24 13:41:58 +08:00
Rico ac5902a888 inner-1648: report The ER relation limit (#3155)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-24 10:26:14 +08:00
Rico 84f3f18a6d inner-1554-supplement: optimize log for heartbeat of SLB/LVS (#3153)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-24 10:25:39 +08:00
ylinzhu f02d74261b fix where condition miss when try nest loop inner 1644 (#3148) 2022-02-23 09:38:15 +08:00
ylinzhu e5dc936a3d the alarm optimization inner 1628 (#3147) 2022-02-17 17:46:39 +08:00
wenyh a5eabc2c35 [inner-1610] fix:when the subquery is right Join, the result is incorrect (#3139) 2022-02-17 14:30:08 +08:00
wenyh b06854b421 [inner-1558] adjust the contents of heartbeat error alarms (#3142) 2022-02-17 14:27:56 +08:00
Rico 9359c80f32 inner-1554: optimize log for heartbeat of SLB/LVS (#3133)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-17 11:08:18 +08:00
Rico a31a8df368 inner-1632&1560&1565&1632:charset merge (#3131)
* Revert "inner/1630:charset issue in union (#3127)"

This reverts commit d45d45e4

Signed-off-by: dcy <dcy10000@gmail.com>

* Revert "field charset (#3037)"

This reverts commit 2d873d85

Signed-off-by: dcy <dcy10000@gmail.com>

* inner-1632:charset merge in union

Signed-off-by: dcy <dcy10000@gmail.com>

* inner-1632-supplement:charset merge in union

Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-16 16:21:51 +08:00
wenyh 4f0a2571d4 [inner-1615] During ddl execution, the creation and release of a table lock must be the same session on the business side (#3135) 2022-02-16 11:20:00 +08:00
wenyh f172e9b864 [inner-1508] remove redundant fields (#3128) 2022-02-14 15:36:36 +08:00
ylinzhu 9be26dd209 fix thread name matching rules inner 1627 (#3126) 2022-02-14 14:47:37 +08:00
Rico d45d45e4cd inner/1630:charset issue in union (#3127)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-02-11 16:44:28 +08:00
ylinzhu b976810f96 fix service conversion error inner 1600 (#3125)
* fix service conversion error inner 1600

fix

* add connection
2022-02-11 16:43:29 +08:00
wenyh be6ceb9540 correct image name (#3124) 2022-02-10 10:55:15 +08:00
Huqing Yan 2d873d85f7 field charset (#3037) 2022-02-09 10:38:16 +08:00
ylinzhu bffd264726 fix Parameter named inner 1620 & 1621 (#3116) 2022-01-27 13:30:12 +08:00
Collapsar 42622293f1 fix ci (#3115) 2022-01-27 10:02:31 +08:00
Collapsar 0839d1e35c inner 1475 - strength prepare statement protocol (#3093)
* strength prepare statement protocol

* inner 1475 - fix incorrect buffer length

* resolve conflict

* update copyright
2022-01-26 13:04:00 +08:00
LUA 5378bdda6a fix: reselect when dbGroup fails (#3114)
* fix: reselect when dbGroup fails

fix: set volatile, remove cas

fix: remove Unused import

fix: findbugs

# Conflicts:
#	src/main/java/com/actiontech/dble/rwsplit/RWSplitNonBlockingSession.java

* docs: add notes
2022-01-26 11:13:49 +08:00
Rico a754d72fa4 inner-1613: fix select may send without limit (#3096)
Signed-off-by: dcy <dcy10000@gmail.com>
2022-01-25 15:08:44 +08:00
Rico e734471f61 inner-1471-bugfix: report error message on some conditions (#3083)
* inner-1471-bugfix: report error message on some conditions

Signed-off-by: dcy <dcy10000@gmail.com>

* inner-1471-supplement: improve readability

Signed-off-by: dcy <dcy10000@gmail.com>
2022-01-25 15:07:47 +08:00
wenyh d8dbe5c7e8 [inner-1619] fix:illegal symbol '’' (#3113) 2022-01-25 10:28:27 +08:00
ylinzhu 60087b2c72 nestloop optimize inner 1472 (#3021)
* Nestloop optimize  inner 1472

* Nestloop optimize  inner 1472

save

* add parameter

* modify nestloop

save

* modify nestloop

* alwaysTryNestLoop optimizer

* modify the parameters

* modify the parameters

* fix right join

* fix lgtm
2022-01-21 14:37:03 +08:00
ylinzhu 9af7b1ef83 update parameter name inner 1384 (#3068)
* update parameter name inner 1384

update

update

update

* update parameter
2022-01-21 13:23:41 +08:00
wenyh e3219239a2 [inner-1612] add release_table_lock label (#3100) 2022-01-20 17:44:11 +08:00