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

Pavel Voronkin updated IGNITE-10671:
------------------------------------
    Description: 
Race is painful when you switch your cluster from walCompaction=false to 
walCompaction=true.

The same FileCompressor instance will use different segmentAwares due to 
start0() is called twice which leads to inconsistent behaviour and errors 
during compaction, basically we will try to archive files twice concurrently.

> Double initialization of segmentAware and FileArchiver lead to race breaking 
> file compression.
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10671
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10671
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Voronkin
>            Priority: Critical
>         Attachments: WalCompactionSwitchOverTest.java
>
>
> Race is painful when you switch your cluster from walCompaction=false to 
> walCompaction=true.
> The same FileCompressor instance will use different segmentAwares due to 
> start0() is called twice which leads to inconsistent behaviour and errors 
> during compaction, basically we will try to archive files twice concurrently.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to