You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DateFileLogHandler.logFileExits() method uses a wrong log file name when checking log file exists, this will lead trying to recreate the log file at every log writing, which will cause performance problem.
Describe what you expected to happen
Use the right log file name when exists checking.
How to reproduce it (as minimally and precisely as possible)
Invoke RecordLog.info() in high concurrency;
Use jstack pid to see the stack trace of the current process, then we will see many threads BLOCKEDat com.alibaba.csp.sentinel.log.DateFileLogHandler.publish().
Tell us your environment
None.
Anything else we need to know?
None.
The text was updated successfully, but these errors were encountered:
Issue Description
Type: bug report
Describe what happened (or what feature you want)
DateFileLogHandler.logFileExits()
method uses a wrong log file name when checking log file exists, this will lead trying to recreate the log file at every log writing, which will cause performance problem.Describe what you expected to happen
Use the right log file name when exists checking.
How to reproduce it (as minimally and precisely as possible)
RecordLog.info()
in high concurrency;jstack pid
to see the stack trace of the current process, then we will see many threads BLOCKEDat com.alibaba.csp.sentinel.log.DateFileLogHandler.publish()
.Tell us your environment
None.
Anything else we need to know?
None.
The text was updated successfully, but these errors were encountered: