[
https://issues.apache.org/jira/browse/IGNITE-22964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875273#comment-17875273
]
Ignite TC Bot commented on IGNITE-22964:
----------------------------------------
{panel:title=Branch: [pull/11486/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11486/head] Base: [master] : New Tests
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Thin Client: Java{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=8411075]]
* {color:#013220}ClientTestSuite:
ThinClientEnpointsDiscoveryTest.testUnreachableAddressDiscoveredDoesNotPreventClientInit
- PASSED{color}
{color:#00008b}Cache 13{color} [[tests
5|https://ci.ignite.apache.org/viewLog.html?buildId=8407193]]
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@1a21f43f,
actual=PlatformExpiryPolicyFactory [create=0, update=1, access=-1,
expiryPlc=PlatformExpiryPolicy [create=ZERO, update=1 MILLISECONDS,
access=ETERNAL]]] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@9df564f,
actual=PlatformExpiryPolicyFactory [create=-1, update=0, access=-1,
expiryPlc=PlatformExpiryPolicy [create=ETERNAL, update=ZERO, access=ETERNAL]]]
- PASSED{color}
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@377949f1,
actual=PlatformExpiryPolicyFactory [create=1, update=-2, access=-1,
expiryPlc=PlatformExpiryPolicy [create=1 MILLISECONDS, access=ETERNAL]]] -
PASSED{color}
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@2f995afc,
actual=PlatformExpiryPolicyFactory [create=2, update=4, access=8,
expiryPlc=PlatformExpiryPolicy [create=2 MILLISECONDS, update=4 MILLISECONDS,
access=8 MILLISECONDS]]] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=javax.cache.configuration.FactoryBuilder$SingletonFactory@6401188a,
actual=SingletonFactory [expiryPlc=EternalExpiryPolicy [create=ETERNAL]]] -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=8407291&buildTypeId=IgniteTests24Java8_RunAll]
> Java thin: client init hangs when cluster discovery is enabled and returned
> addresses are not reachable
> -------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-22964
> URL: https://issues.apache.org/jira/browse/IGNITE-22964
> Project: Ignite
> Issue Type: Improvement
> Components: thin client
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Fix For: 2.17
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Initial *ReliableChannel#channelsInit* synchronously calls
> *discoveryCtx::refresh*, causing the client initialization to hang on
> unreachable addresses
> * *discoveryCtx::refresh* must be run only in background threads
> * Client initialization should finish as soon as a connection is established
> to one of the configured addresses
> *channelsCnt.get() == 0* check does not work properly:
> https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/client/thin/ReliableChannel.java#L747
--
This message was sent by Atlassian Jira
(v8.20.10#820010)