Merge pull request #25659 from akka/shardingErrorMessage

Add troubleshooting hint to logging
This commit is contained in:
Patrik Nordwall 2018-10-18 15:07:12 +02:00 committed by GitHub
commit 751a67ef42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1025,7 +1025,8 @@ class DDataShardCoordinator(typeName: String, settings: ClusterShardingSettings,
case UpdateTimeout(CoordinatorStateKey, Some(`evt`))
log.error(
"The ShardCoordinator was unable to update a distributed state within 'updating-state-timeout': {} millis (retrying), event={}",
"The ShardCoordinator was unable to update a distributed state within 'updating-state-timeout': {} millis (retrying). " +
"Perhaps the ShardRegion has not started on all active nodes yet? event={}",
writeMajority.timeout.toMillis, evt)
// repeat until UpdateSuccess
sendCoordinatorStateUpdate(evt)