shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

Can't config distributed transaction rules when installing by helm chart

Open clytzelbj opened this issue 2 years ago • 2 comments

Question

Is there any ways to configure distributed transaction rules when I install a proxy cluster by helm chart?

My trials

I tried to add config to the serverConfig in helm chart according to the official documentation of server.yaml like below. image But my proxy pods failed to start with the below errors thrown. image

Other Information

Proxy image version: 5.1.3-SNAPSHOT from the master branch on github Helm version: v3.7.2

clytzelbj avatar Aug 04 '22 09:08 clytzelbj

As far as I know, helm does not support special YAML tags like !TRANSTACTION. This problem may be resolved in the next version.

RaigorJiang avatar Aug 04 '22 12:08 RaigorJiang

@clytzelbj In fact, only mode and authority must be configured in server.yaml. Other global rules can be configured by DistSQL , which should solve your problem.

Please refer to ALTER TRANSACTION RULE .

Because the default transaction rule type is LOCAL, so there is only ALTER, no CREATE statement.

RaigorJiang avatar Aug 07 '22 09:08 RaigorJiang

Hello , this issue has not received a reply for several days. This issue is supposed to be closed.

github-actions[bot] avatar Oct 08 '22 16:10 github-actions[bot]

Closed due to no reply for a long time.

RaigorJiang avatar Oct 11 '22 05:10 RaigorJiang