You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (JIRA)" <ji...@apache.org> on 2018/06/18 07:11:00 UTC
[jira] [Comment Edited] (IGNITE-8761) WAL fsync at rollover should
be asynchronous in LOG_ONLY and BACKGROUND modes
[ https://issues.apache.org/jira/browse/IGNITE-8761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515414#comment-16515414 ]
Vladislav Pyatkov edited comment on IGNITE-8761 at 6/18/18 7:10 AM:
--------------------------------------------------------------------
Look at the TC passed:
https://ci.ignite.apache.org/viewLog.html?buildId=1397188&buildTypeId=IgniteTests24Java8_RunAll&tab=buildResultsDiv
After 17 Jun I have made changes in log message and squashed commits.
Just in case I have planed new TC:
https://ci.ignite.apache.org/viewLog.html?buildId=1398721&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_RunAll
was (Author: v.pyatkov):
Look at the TC passed:
https://ci.ignite.apache.org/viewLog.html?buildId=1397188&buildTypeId=IgniteTests24Java8_RunAll&tab=buildResultsDiv
After 17 Jun I have made changes in log message and squashed commits.
> WAL fsync at rollover should be asynchronous in LOG_ONLY and BACKGROUND modes
> -----------------------------------------------------------------------------
>
> Key: IGNITE-8761
> URL: https://issues.apache.org/jira/browse/IGNITE-8761
> Project: Ignite
> Issue Type: Improvement
> Components: persistence
> Reporter: Ivan Rakov
> Assignee: Vladislav Pyatkov
> Priority: Major
> Fix For: 2.6
>
>
> Transactions may periodically hang for a few seconds in LOG_ONLY or BACKGROUND persistent modes. Thread dumps show that threads are hanging on syncing previous WAL segment during rollover:
> {noformat}
> java.lang.Thread.State: RUNNABLE
> at java.nio.MappedByteBuffer.force0(MappedByteBuffer.java:-1)
> at java.nio.MappedByteBuffer.force(MappedByteBuffer.java:203)
> at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileWriteHandle.close(FileWriteAheadLogManager.java:2843)
> at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileWriteHandle.access$600(FileWriteAheadLogManager.java:2483)
> at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.rollOver(FileWriteAheadLogManager.java:1094)
> {noformat}
> Waiting for this fsync is not necessary action to ensure crash recovery guarantees. Instead of this, we should just perform fsyncs asychronously and ensure that they are completed prior to next checkpoint start.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)