shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[BUG] <There are more than 8 configuration items in the generalcontext plugin and an error is reported.>

Open lianjunwei opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

image

Expected Behavior

Solution: 1.The size of the "handle" field in the "rule" table of the database is 1024. Should the capacity be expanded. 2.Compress the JSON string volume by shortening the field name (consider how to upgrade smoothly)

Steps To Reproduce

No response

Environment

ShenYu version(s): 2.4.2 and master.

Debug logs

No response

Anything else?

No response

lianjunwei avatar Apr 13 '22 14:04 lianjunwei

it can be fixed?

yu199195 avatar Apr 15 '22 08:04 yu199195

I can fix it. Consider optimizing from the following two points.

  1. Increase the length of the database field.
  2. Consider compress the JSON string volume by shortening the field name.

lianjunwei avatar Apr 18 '22 15:04 lianjunwei