You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2020/07/20 09:15:00 UTC

[jira] [Updated] (IGNITE-12646) When DEBUG mode is enabled GridToStringBuilder may throw java.util.ConcurrentModificationException

     [ https://issues.apache.org/jira/browse/IGNITE-12646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Plekhanov updated IGNITE-12646:
---------------------------------------
    Fix Version/s:     (was: 2.9)
                   2.10

> When DEBUG mode is enabled GridToStringBuilder may throw java.util.ConcurrentModificationException
> --------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-12646
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12646
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergey Chugunov
>            Assignee: Sergey Chugunov
>            Priority: Major
>             Fix For: 2.10
>
>
> With DEBUG enabled many components like CommunicationSPI start to log much larger chunks of information e.g. communication messages are logged as is.
> When big enough message with non-thread safe collection inside is logged by communication thread it is possible that some other thread started processing the same message. If processing involves modifying of the collection communication thread will get ConcurrentModificationException when in the middle of iterating over it.
> GridToStringBuilder should be safe from throwing this exception and (optionally) any type of RuntimeException.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)