Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogRecordOperationSource线程不安全的问题 #11

Open
heiqiu opened this issue Dec 5, 2023 · 1 comment
Open

LogRecordOperationSource线程不安全的问题 #11

heiqiu opened this issue Dec 5, 2023 · 1 comment

Comments

@heiqiu
Copy link

heiqiu commented Dec 5, 2023

LogRecordOperationSource这个类中
private static final LogRecordValueParser expressParser = new LogRecordValueParser(new SpelParserConfiguration());
这个公共expressParser中的实列变量expressionString并不是线程安全的,并发过程中,会导致多个线程修改expressionString,解析出现异常

@weigangs
Copy link
Owner

好的,感谢反馈,可以提个pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants