RexXiong commented on code in PR #3213:
URL: https://github.com/apache/celeborn/pull/3213#discussion_r2048456236
##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/Worker.scala:
##########
@@ -453,6 +453,14 @@ private[celeborn] class Worker(
0
}
}
+ // Unreleased partition location count when worker is restarting
+ workerSource.addGauge(WorkerSource.UNRELEASED_PARTITION_LOCATION_COUNT) { ()
=>
+ if (shutdown.get() && (workerStatusManager.currentWorkerStatus.getState ==
State.InGraceFul)) {
Review Comment:
The condition `workerStatusManager.currentWorkerStatus.getState ==
State.InGraceFul `can be removed since there may be other states when shutdown.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]