Sharding request-to-start but already started logging (#29545)

This commit is contained in:
Johan Andrén 2020-09-02 14:18:44 +02:00 committed by GitHub
parent 9b709df2d0
commit 192be028a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -772,6 +772,7 @@ private[akka] class Shard(
private def startEntity(entityId: EntityId, ackTo: Option[ActorRef]): Unit = {
entities.entityState(entityId) match {
case Active(_) =>
if (verboseDebug)
log.debug("Request to start entity [{}] (Already started)", entityId)
touchLastMessageTimestamp(entityId)
ackTo.foreach(_ ! ShardRegion.StartEntityAck(entityId, shardId))