20457: Log at info level when flapping lock at concurrency limit.
authorTom Clegg <tom@curii.com>
Mon, 1 May 2023 13:36:01 +0000 (09:36 -0400)
committerTom Clegg <tom@curii.com>
Mon, 1 May 2023 13:36:01 +0000 (09:36 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/dispatchcloud/scheduler/run_queue.go

index b8158579a3a3a1b30a0eccc80b421f8abe8bdecf..dda3630ee7b88c6888b8eb2d1ba7db4735ebdd74 100644 (file)
@@ -185,7 +185,7 @@ tryrun:
                        _, toolate := running[ctr.UUID]
                        if ctr.State == arvados.ContainerStateLocked && !toolate {
                                logger := sch.logger.WithField("ContainerUUID", ctr.UUID)
-                               logger.Debug("unlock because pool capacity is used by higher priority containers")
+                               logger.Info("unlock because pool capacity is used by higher priority containers")
                                err := sch.queue.Unlock(ctr.UUID)
                                if err != nil {
                                        logger.WithError(err).Warn("error unlocking")