ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-251) Assertion in CommunicationSpi when two nodes are concurrently connecting to each other
Date Fri, 13 Feb 2015 23:58:12 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Goncharuk updated IGNITE-251:
------------------------------------
    Description: 
{code}
java.lang.AssertionError: Client already created [node=TcpDiscoveryNode [id=5c2889b1-a0ee-438d-b037-6405aa0c5720,
addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, loc=false,
ver=1.0.0#20150213-sha1:a9487e50, isClient=false], client=GridShmemCommunicationClient [shmem=IpcSharedMemoryClientEndpoint
[inSpace=IpcSharedMemorySpace [opSize=262144, shmemPtr=140154215501888, shmemId=1908178951,
semId=1663172613, closed=false, isReader=true, writerPid=11466, readerPid=11466, tokFileName=/home/teamcity/TeamCityAgent/work/c326f6bf1927b309/work/ipc/shmem/5c2889b1-a0ee-438d-b037-6405aa0c5720-11466/gg-shmem-space-803-11466-262144,
closed=false], outSpace=IpcSharedMemorySpace [opSize=262144, shmemPtr=140154214182976, shmemId=1908146182,
semId=1663139844, closed=false, isReader=false, writerPid=11466, readerPid=11466, tokFileName=/home/teamcity/TeamCityAgent/work/c326f6bf1927b309/work/ipc/shmem/5c2889b1-a0ee-438d-b037-6405aa0c5720-11466/gg-shmem-space-802-11466-262144,
closed=false], checkIn=true, checkOut=true], writeBuf=java.nio.HeapByteBuffer[pos=0 lim=8192
cap=8192], formatter=org.apache.ignite.internal.managers.communication.GridIoManager$3@273be0a7,
super=GridAbstractCommunicationClient [lastUsed=1423865972712, reserves=0]], oldClient=GridTcpNioCommunicationClient
[ses=GridSelectorNioSessionImpl [selectorIdx=0, queueSize=0, writeBuf=java.nio.DirectByteBuffer[pos=0
lim=32768 cap=32768], readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], recovery=GridNioRecoveryDescriptor
[acked=0, resendCnt=0, rcvCnt=1, reserved=true, lastAck=0, nodeLeft=false, node=TcpDiscoveryNode
[id=5c2889b1-a0ee-438d-b037-6405aa0c5720, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150213-sha1:a9487e50, isClient=false],
connected=true, connectCnt=0, queueLimit=5120], super=GridNioSessionImpl [locAddr=/127.0.0.1:45152,
rmtAddr=/127.0.0.1:42812, createTime=1423865972712, closeTime=0, bytesSent=26, bytesRcvd=135,
sndSchedTime=1423865972712, lastSndTime=1423865979400, lastRcvTime=1423865979622, readsPaused=false,
filterChain=FilterChain[filters=[GridNioCodecFilter [parser=org.apache.ignite.internal.util.nio.GridDirectParser@4c1a0810,
directMode=true], GridConnectionBytesVerifyFilter], accepted=true]], super=GridAbstractCommunicationClient
[lastUsed=1423865979400, reserves=0]]]
	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:1792)
	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1723)
	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:144)
	at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:925)
	at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:992)
	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:355)
	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:564)
	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:599)
	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:531)
	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:804)
	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
	at java.lang.Thread.run(Thread.java:722)
{code}

> Assertion in CommunicationSpi when two nodes are concurrently connecting to each other
> --------------------------------------------------------------------------------------
>
>                 Key: IGNITE-251
>                 URL: https://issues.apache.org/jira/browse/IGNITE-251
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: sprint-1
>            Reporter: Alexey Goncharuk
>             Fix For: sprint-1
>
>
> {code}
> java.lang.AssertionError: Client already created [node=TcpDiscoveryNode [id=5c2889b1-a0ee-438d-b037-6405aa0c5720,
addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, loc=false,
ver=1.0.0#20150213-sha1:a9487e50, isClient=false], client=GridShmemCommunicationClient [shmem=IpcSharedMemoryClientEndpoint
[inSpace=IpcSharedMemorySpace [opSize=262144, shmemPtr=140154215501888, shmemId=1908178951,
semId=1663172613, closed=false, isReader=true, writerPid=11466, readerPid=11466, tokFileName=/home/teamcity/TeamCityAgent/work/c326f6bf1927b309/work/ipc/shmem/5c2889b1-a0ee-438d-b037-6405aa0c5720-11466/gg-shmem-space-803-11466-262144,
closed=false], outSpace=IpcSharedMemorySpace [opSize=262144, shmemPtr=140154214182976, shmemId=1908146182,
semId=1663139844, closed=false, isReader=false, writerPid=11466, readerPid=11466, tokFileName=/home/teamcity/TeamCityAgent/work/c326f6bf1927b309/work/ipc/shmem/5c2889b1-a0ee-438d-b037-6405aa0c5720-11466/gg-shmem-space-802-11466-262144,
closed=false], checkIn=true, checkOut=true], writeBuf=java.nio.HeapByteBuffer[pos=0 lim=8192
cap=8192], formatter=org.apache.ignite.internal.managers.communication.GridIoManager$3@273be0a7,
super=GridAbstractCommunicationClient [lastUsed=1423865972712, reserves=0]], oldClient=GridTcpNioCommunicationClient
[ses=GridSelectorNioSessionImpl [selectorIdx=0, queueSize=0, writeBuf=java.nio.DirectByteBuffer[pos=0
lim=32768 cap=32768], readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], recovery=GridNioRecoveryDescriptor
[acked=0, resendCnt=0, rcvCnt=1, reserved=true, lastAck=0, nodeLeft=false, node=TcpDiscoveryNode
[id=5c2889b1-a0ee-438d-b037-6405aa0c5720, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150213-sha1:a9487e50, isClient=false],
connected=true, connectCnt=0, queueLimit=5120], super=GridNioSessionImpl [locAddr=/127.0.0.1:45152,
rmtAddr=/127.0.0.1:42812, createTime=1423865972712, closeTime=0, bytesSent=26, bytesRcvd=135,
sndSchedTime=1423865972712, lastSndTime=1423865979400, lastRcvTime=1423865979622, readsPaused=false,
filterChain=FilterChain[filters=[GridNioCodecFilter [parser=org.apache.ignite.internal.util.nio.GridDirectParser@4c1a0810,
directMode=true], GridConnectionBytesVerifyFilter], accepted=true]], super=GridAbstractCommunicationClient
[lastUsed=1423865979400, reserves=0]]]
> 	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:1792)
> 	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1723)
> 	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:144)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:925)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:992)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:355)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:564)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:599)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:531)
> 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:804)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
> 	at java.lang.Thread.run(Thread.java:722)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message