You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/05 23:22:00 UTC
[jira] [Commented] (IGNITE-8945) Stored cache data files corruption
when node stops abruptly.
[ https://issues.apache.org/jira/browse/IGNITE-8945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16534275#comment-16534275 ]
ASF GitHub Bot commented on IGNITE-8945:
----------------------------------------
GitHub user ivandasch opened a pull request:
https://github.com/apache/ignite/pull/4319
IGNITE-8945: Add additional checks with informative error message
and implement more robust storedcachedata save.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ivandasch/ignite ignite-8945
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4319.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4319
----
commit c8e80325c8862d76289516a5053a4b5b66738044
Author: Ivan Daschinskiy <iv...@...>
Date: 2018-07-05T22:38:21Z
IGNITE-8945: Add additional checks with informative error message
and implement more robust storedcachedata save.
----
> Stored cache data files corruption when node stops abruptly.
> ------------------------------------------------------------
>
> Key: IGNITE-8945
> URL: https://issues.apache.org/jira/browse/IGNITE-8945
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Ivan Daschinskiy
> Assignee: Ivan Daschinskiy
> Priority: Major
> Fix For: 2.7
>
>
> When node is halted during saving stored cache data, content of this file can be corrupted.
> 1. Additional check should be implemented in FilePageStoreManager.readCacheData
> (print the name of corrupted file)
> 2. In storeCacheData we need to serialize StoredCacheData to temp file then swap.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)