SteNicholas commented on code in PR #3162:
URL: https://github.com/apache/celeborn/pull/3162#discussion_r2006749253
##########
common/src/main/scala/org/apache/celeborn/common/meta/DeviceInfo.scala:
##########
@@ -123,8 +124,8 @@ class DiskInfo(
*
* @return the available slots of the disk.
*/
- def availableSlots(): Long = this.synchronized {
- math.max(maxSlots - activeSlots, 0L)
+ def getAvailableSlots(): Long = this.synchronized {
Review Comment:
Does this need to use synchronized blocker?
--
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]