mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
backport of bugfix ENT-5752 into OS 4.3 (#6724)
This commit is contained in:
parent
1d43471709
commit
cfb28f6a1f
@ -142,6 +142,11 @@ class NetworkMapUpdater(private val networkMapCache: NetworkMapCacheInternal,
|
||||
val nextScheduleDelay = try {
|
||||
updateNetworkMapCache()
|
||||
} catch (e: Exception) {
|
||||
// Check to see if networkmap was reachable before and cached information exists
|
||||
if (networkMapCache.allNodeHashes.size > 1) {
|
||||
logger.debug("Networkmap Service unreachable but more than one nodeInfo entries found in the cache. Allowing node start-up to proceed.")
|
||||
networkMapCache.nodeReady.set(null)
|
||||
}
|
||||
logger.warn("Error encountered while updating network map, will retry in $defaultRetryInterval", e)
|
||||
defaultRetryInterval
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user