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
In Java 17, a security fix was applied. All tasks that are executed within ForkJoinPool.commonPool will clear all ThreadLocal data for that thread after the task is completed.
This breaks the way that the scalyr-logback appender handles multi threaded logging since the EventUploader.java class has the state for the thread in its map but the Events.java class cant find it's threadlocal value. It ends in the assert giving an error with the message "collision in threads table".
In Java 17, a security fix was applied. All tasks that are executed within ForkJoinPool.commonPool will clear all ThreadLocal data for that thread after the task is completed.
This breaks the way that the scalyr-logback appender handles multi threaded logging since the EventUploader.java class has the state for the thread in its map but the Events.java class cant find it's threadlocal value. It ends in the assert giving an error with the message "collision in threads table".
Logstash logback appender has already solved this:
logfellow/logstash-logback-encoder#722
The text was updated successfully, but these errors were encountered: