[ https://issues.apache.org/jira/browse/IGNITE-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Belyak updated IGNITE-8105: ------------------------------------- Attachment: FastRestartTest.java > Close() while auto activate > --------------------------- > > Key: IGNITE-8105 > URL: https://issues.apache.org/jira/browse/IGNITE-8105 > Project: Ignite > Issue Type: Bug > Components: general > Affects Versions: 2.4 > Reporter: Alexander Belyak > Priority: Minor > Attachments: FastRestartTest.java > > > 1) Start one node, activate, fill some data > 2) Close node > 3) Start node and right after start call close() > Expected result: > Node start and close correctly (maybe with auto activate/deactivate, maybe > without) > Actual result: > Node start and throw java.nio.channels.ClosedByInterruptException in > activation process cause close() process close checkpoint file channel > Expection is: > {noformat} > [2018-04-02 > 19:57:27,831][ERROR][exchange-worker-#94%srv1%][GridCachePartitionExchangeManager] > Failed to wait for completion of partition map exchange (preloading will not > start): GridDhtPartitionsExchangeFuture [firstDiscoEvt=DiscoveryCustomEvent > [customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > super=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=a9fa729f-613f-496b-8e7c-e53142817226, addrs=[0:0:0:0:0:0:0:1%lo, > 10.0.3.1, 10.38.184.66, 10.42.1.107, 127.0.0.1, 172.17.0.1], > sockAddrs=[/10.38.184.66:47500, /172.17.0.1:47500, /0:0:0:0:0:0:0:1%lo:47500, > /10.0.3.1:47500, /10.42.1.107:47500, /127.0.0.1:47500], discPort=47500, > order=1, intOrder=1, lastExchangeTime=1522673846477, loc=true, > ver=2.4.0#19700101-sha1:00000000, isClient=false], topVer=1, > nodeId8=a9fa729f, msg=null, type=DISCOVERY_CUSTOM_EVT, > tstamp=1522673847732]], crd=TcpDiscoveryNode > [id=a9fa729f-613f-496b-8e7c-e53142817226, addrs=[0:0:0:0:0:0:0:1%lo, > 10.0.3.1, 10.38.184.66, 10.42.1.107, 127.0.0.1, 172.17.0.1], > sockAddrs=[/10.38.184.66:47500, /172.17.0.1:47500, /0:0:0:0:0:0:0:1%lo:47500, > /10.0.3.1:47500, /10.42.1.107:47500, /127.0.0.1:47500], discPort=47500, > order=1, intOrder=1, lastExchangeTime=1522673846477, loc=true, > ver=2.4.0#19700101-sha1:00000000, isClient=false], > exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], discoEvt=DiscoveryCustomEvent [customMsg=null, > affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > super=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=a9fa729f-613f-496b-8e7c-e53142817226, addrs=[0:0:0:0:0:0:0:1%lo, > 10.0.3.1, 10.38.184.66, 10.42.1.107, 127.0.0.1, 172.17.0.1], > sockAddrs=[/10.38.184.66:47500, /172.17.0.1:47500, /0:0:0:0:0:0:0:1%lo:47500, > /10.0.3.1:47500, /10.42.1.107:47500, /127.0.0.1:47500], discPort=47500, > order=1, intOrder=1, lastExchangeTime=1522673846477, loc=true, > ver=2.4.0#19700101-sha1:00000000, isClient=false], topVer=1, > nodeId8=a9fa729f, msg=null, type=DISCOVERY_CUSTOM_EVT, > tstamp=1522673847732]], nodeId=a9fa729f, evt=DISCOVERY_CUSTOM_EVT], > added=true, initFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE, > res=false, hash=791289709], init=false, lastVer=null, > partReleaseFut=PartitionReleaseFuture [topVer=AffinityTopologyVersion > [topVer=1, minorTopVer=1], futures=[ExplicitLockReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], > TxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > futures=[]], AtomicUpdateReleaseFuture [topVer=AffinityTopologyVersion > [topVer=1, minorTopVer=1], futures=[]], DataStreamerReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]]]], > exchActions=null, affChangeMsg=null, initTs=1522673847742, > centralizedAff=false, changeGlobalStateE=class o.a.i.IgniteCheckedException: > Failed to read checkpoint pointer from marker file: > /tmp/test/srv1/db/cons_srv1/cp/1522673842894-84776dc9-6fac-4aa0-804c-f56cbee68c12-START.bin, > done=true, state=CRD, evtLatch=0, remaining=[], super=GridFutureAdapter > [ignoreInterrupts=false, state=DONE, res=class o.a.i.IgniteCheckedException: > Failed to read checkpoint pointer from marker file: > /tmp/test/srv1/db/cons_srv1/cp/1522673842894-84776dc9-6fac-4aa0-804c-f56cbee68c12-START.bin, > hash=1311860231]] > class org.apache.ignite.IgniteCheckedException: Failed to read checkpoint > pointer from marker file: > /tmp/test/srv1/db/cons_srv1/cp/1522673842894-84776dc9-6fac-4aa0-804c-f56cbee68c12-START.bin > at > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager.java:1794) > at > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointStatus(GridCacheDatabaseSharedManager.java:1764) > at > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1321) > at > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1114) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1062) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:660) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2329) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.nio.channels.ClosedByInterruptException > at > java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) > at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:164) > at > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager.java:1786) > ... 8 more > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)