HDFS-13464. Fix javadoc in FsVolumeList#handleVolumeFailures. Contributed by Shashikant Banerjee
This commit is contained in:
parent
bf2f493f81
commit
bf7694d020
@ -231,12 +231,11 @@ public void run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls {@link FsVolumeImpl#checkDirs()} on each volume.
|
* Updates the failed volume info in the volumeFailureInfos Map
|
||||||
|
* and calls {@link #removeVolume(FsVolumeImpl)} to remove the volume
|
||||||
|
* from the volume list for each of the failed volumes.
|
||||||
*
|
*
|
||||||
* Use {@link checkDirsLock} to allow only one instance of checkDirs() call.
|
* @param failedVolumes set of volumes marked failed.
|
||||||
*
|
|
||||||
* @return list of all the failed volumes.
|
|
||||||
* @param failedVolumes
|
|
||||||
*/
|
*/
|
||||||
void handleVolumeFailures(Set<FsVolumeSpi> failedVolumes) {
|
void handleVolumeFailures(Set<FsVolumeSpi> failedVolumes) {
|
||||||
try (AutoCloseableLock lock = checkDirsLock.acquire()) {
|
try (AutoCloseableLock lock = checkDirsLock.acquire()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user