diff options
author | Valerij Fredriksen <valerijf@yahooinc.com> | 2022-02-04 09:54:51 +0100 |
---|---|---|
committer | Valerij Fredriksen <valerijf@yahooinc.com> | 2022-02-04 09:54:51 +0100 |
commit | 26bfb0ded3cb4add3247ffa031e372aee955f512 (patch) | |
tree | 866f71b21b7b63dfe0c11429b708850b5baed1aa /node-admin | |
parent | 719556f91b94c8657c4124047f23052b11ab6c97 (diff) |
Fix comment
Diffstat (limited to 'node-admin')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java index ac4d58374c1..b6fb2bf345f 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java @@ -215,9 +215,10 @@ public class StorageMaintainer { } new UnixPath(context.paths().of("/")).deleteRecursively(); - // Container FS root cannot be created from ContainerPath, it is therefore important that it exists as long as - // NodeAgent is running. Normally the root is only created when NodeAgent is first started. Because non-tenant - // nodes are never removed from node-repo, we immediately re-create the new root after archiving the previous + // Operations on ContainerPath will fail if Container FS root doesn't exist, it is therefore important that + // it exists as long as NodeAgent is running. Normally the root is only created when NodeAgent is first + // started. Because non-tenant nodes are never removed from node-repo, we immediately re-create the new root + // after archiving the previous if (context.nodeType() != NodeType.tenant) context.paths().of("/").getFileSystem().createRoot(); } |