ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Voronkin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-10671) Double initialization of segmentAware and FileArchiver lead to race breaking file compression.
Date Thu, 20 Dec 2018 06:17:00 GMT

     [ 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.

See reproducer in attachment.

  was:
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
>            Assignee: 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.
> See reproducer in attachment.



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

Mime
View raw message