[
https://issues.apache.org/jira/browse/IGNITE-12877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Mashenkov updated IGNITE-12877:
--------------------------------------
Component/s: persistence
> "restorePartitionStates" always logs all meta pages into WAL
> ------------------------------------------------------------
>
> Key: IGNITE-12877
> URL: https://issues.apache.org/jira/browse/IGNITE-12877
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Reporter: Ivan Bessonov
> Assignee: Ivan Bessonov
> Priority: Major
> Fix For: 2.9
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {noformat}
> 2020-01-31T21:09:27,203 [INFO
> ][main][org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager]
> - Finished applying WAL changes [updatesApplied=11897, time=183531 ms]
> 2020-01-31T21:09:27,203 [INFO
> ][main][org.apache.ignite.internal.processors.cache.GridCacheProcessor] -
> Restoring partition state for local groups. 2020-01-31T21:17:49,692 [INFO
> ][main][org.apache.ignite.internal.processors.cache.GridCacheProcessor] -
> Finished restoring partition state for local groups [groupsProcessed=32,
> partitionsProcessed=9310, time=502498ms] {noformat}
> Main issue is that
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager#updateState
> unconditionally returns true. "stateId" is pretty much always not equal to
> "-1".
> UPDATE: that wasn’t the only problem, please look in the fix itself for more
> details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)