Shardingsphere: Error message if circuit break mode has unnecessary test.

Created on 16 Nov 2020  ·  10Comments  ·  Source: apache/shardingsphere

When execute sql in circuit break mode, it display:

ERROR 10000 (C1000): 0Circuit break mode is ON.

In word 0Circuit, 0 is unnecessary, please remove it.

image

MySQL proxy enhancement

All 10 comments

please assige me.

@cenyu00 are you still working on this?
Can I take it up if not?

Hi @dbhat6
Please go ahead

@terrymanu I won't be able to take this up

Hi , plz assige me,I want to have a try,thx

Hello i want to know how to open circuit break mode, @terrymanu @strongduanmu

Hello i want to know how to open circuit break mode, @terrymanu @strongduanmu

ohhh, I know, thx

I found that the sqlState length defined by mysql error packet is 5, but we defined it as6. This will happen to all errorMsgs. I would like to modify our defined length to5. Take a look. If this design is unreasonable, I will Try another method.

@totalo Thank you, the change is excellent, I will do a little research and merge it soon

LGTM. Please check one comment I left, then the PR can be merged.

Was this page helpful?
0 / 5 - 0 ratings