Hi, I was not able to reproduce the issue locally. Could you please share the full configuration and the code used, as well as full logs. It would be great to have a reproducer in the form of a Maven/Gradle based project.
Kind regards, Alex. On Wed, Aug 9, 2017 at 4:34 PM, Alisher Alimov [via Apache Ignite Users] < ml+s70518n16082...@n6.nabble.com> wrote: > Hi! > > I have problem with build-in persistent store on Ignite 2.1, on > restarting Ignite with already existing data (on disk) retrieve such error > > SEVERE: Failed to reinitialize local partitions (preloading will be > stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion > [topVer=1, minorTopVer=1], nodeId=5c624651, evt=DISCOVERY_CUSTOM_EVT] > java.lang.AssertionError: 0 > at org.apache.ignite.internal.processors.cache.persistence.tree.io. > PagePartitionCountersIO.readCacheSizes(PagePartitionCountersIO.java:132) > at org.apache.ignite.internal.processors.cache.persistence. > GridCacheOffheapManager$GridCacheDataStore.init0( > GridCacheOffheapManager.java:952) > at org.apache.ignite.internal.processors.cache.persistence. > GridCacheOffheapManager$GridCacheDataStore.updateCounter( > GridCacheOffheapManager.java:1130) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:882) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.casState(GridDhtLocalPartition.java:564) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.own(GridDhtLocalPartition.java:594) > at org.apache.ignite.internal.processors.cache.distributed.dht. > GridDhtPartitionTopologyImpl.initPartitions0(GridDhtPartitionTopologyImpl. > java:337) > at org.apache.ignite.internal.processors.cache.distributed.dht. > GridDhtPartitionTopologyImpl.beforeExchange(GridDhtPartitionTopologyImpl. > java:507) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader. > GridDhtPartitionsExchangeFuture.distributedExchange( > GridDhtPartitionsExchangeFuture.java:991) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader. > GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFutur > e.java:632) > at org.apache.ignite.internal.processors.cache. > GridCachePartitionExchangeManager$ExchangeWorker.body( > GridCachePartitionExchangeManager.java:1901) > at org.apache.ignite.internal.util.worker.GridWorker.run( > GridWorker.java:110) > at java.lang.Thread.run(Thread.java:745) > > Aug 09, 2017 4:23:10 PM org.apache.ignite.logger.java.JavaLogger error > SEVERE: Runtime error caught during grid runnable execution: GridWorker > [name=partition-exchanger, igniteInstanceName=test, finished=false, > hashCode=825663153, interrupted=false, runner=exchange-worker-#34%test%] > java.lang.AssertionError: 0 > at org.apache.ignite.internal.processors.cache.persistence.tree.io. > PagePartitionCountersIO.readCacheSizes(PagePartitionCountersIO.java:132) > at org.apache.ignite.internal.processors.cache.persistence. > GridCacheOffheapManager$GridCacheDataStore.init0( > GridCacheOffheapManager.java:952) > at org.apache.ignite.internal.processors.cache.persistence. > GridCacheOffheapManager$GridCacheDataStore.updateCounter( > GridCacheOffheapManager.java:1130) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:882) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.casState(GridDhtLocalPartition.java:564) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.own(GridDhtLocalPartition.java:594) > at org.apache.ignite.internal.processors.cache.distributed.dht. > GridDhtPartitionTopologyImpl.initPartitions0(GridDhtPartitionTopologyImpl. > java:337) > at org.apache.ignite.internal.processors.cache.distributed.dht. > GridDhtPartitionTopologyImpl.beforeExchange(GridDhtPartitionTopologyImpl. > java:507) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader. > GridDhtPartitionsExchangeFuture.distributedExchange( > GridDhtPartitionsExchangeFuture.java:991) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader. > GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFutur > e.java:632) > at org.apache.ignite.internal.processors.cache. > GridCachePartitionExchangeManager$ExchangeWorker.body( > GridCachePartitionExchangeManager.java:1901) > at org.apache.ignite.internal.util.worker.GridWorker.run( > GridWorker.java:110) > at java.lang.Thread.run(Thread.java:745) > > Exception in thread "exchange-worker-#34%test%" java.lang.AssertionError: 0 > at org.apache.ignite.internal.processors.cache.persistence.tree.io. > PagePartitionCountersIO.readCacheSizes(PagePartitionCountersIO.java:132) > at org.apache.ignite.internal.processors.cache.persistence. > GridCacheOffheapManager$GridCacheDataStore.init0( > GridCacheOffheapManager.java:952) > at org.apache.ignite.internal.processors.cache.persistence. > GridCacheOffheapManager$GridCacheDataStore.updateCounter( > GridCacheOffheapManager.java:1130) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:882) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.casState(GridDhtLocalPartition.java:564) > at org.apache.ignite.internal.processors.cache.distributed. > dht.GridDhtLocalPartition.own(GridDhtLocalPartition.java:594) > at org.apache.ignite.internal.processors.cache.distributed.dht. > GridDhtPartitionTopologyImpl.initPartitions0(GridDhtPartitionTopologyImpl. > java:337) > at org.apache.ignite.internal.processors.cache.distributed.dht. > GridDhtPartitionTopologyImpl.beforeExchange(GridDhtPartitionTopologyImpl. > java:507) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader. > GridDhtPartitionsExchangeFuture.distributedExchange( > GridDhtPartitionsExchangeFuture.java:991) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader. > GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFutur > e.java:632) > at org.apache.ignite.internal.processors.cache. > GridCachePartitionExchangeManager$ExchangeWorker.body( > GridCachePartitionExchangeManager.java:1901) > at org.apache.ignite.internal.util.worker.GridWorker.run( > GridWorker.java:110) > at java.lang.Thread.run(Thread.java:745) > > > There are only one node in cluster, path to persistent store files are > readable and writable > > > Config for PersistentStore > > <property name="persistentStoreConfiguration"> > <bean > class="org.apache.ignite.configuration.PersistentStoreConfiguration"> > <property name="walStorePath" value=“/opt/test/db/wal"/> > <property name="walArchivePath" value=“/opt/test/db/wal/log"/> > <property name="persistentStorePath" value=“/opt/test/db/store"/> > <property name="walMode" value="LOG_ONLY"/> > <property name="alwaysWriteFullPages" value="true"/> > </bean> > </property> > > > > With best regards > Alisher Alimov > [hidden email] <http:///user/SendEmail.jtp?type=node&node=16082&i=0> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/PersistentStore-problems- > tp16082.html > To start a new topic under Apache Ignite Users, email > ml+s70518n1...@n6.nabble.com > To unsubscribe from Apache Ignite Users, click here > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=> > . > NAML > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PersistentStore-problems-tp16082p16084.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.