turboFei commented on PR #2233: URL: https://github.com/apache/incubator-celeborn/pull/2233#issuecomment-1945137873
> Another alternative is to extract `LocalDeviceMonitor#startCheck#run` into a method, and explicitly call the method after base working directories are created, so it will be marked as `READ_OR_WRITE_FAILURE` in the initialization of `StorageManager` if the disk is not available, and no slots will be allocated on it. `LocalDeviceMonitor#readWriteError` will always try to create the directory, so even though the base working directory is not created in startup, whenever the disk goes back to healthy, the directory will be created. How about just set the init delay for LocalDeviceMonitor#startCheck task scheduling to 0? @waitinfuture -- 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]
