Expand admin tools and harden storage operations

This commit is contained in:
admin committed 2026-11-07 10:09:32 +01:00
1 parent fbec6694df
commit 5304dfc047
86 files changed
+8111 -1102

No files matched your search

@@ -0,0 +1,14 @@
package cloud.lunarsky.store;
public final class ClusterRepairCliTest {
public static void main(String[] args) throws Exception {
try {
ClusterRepair.main(new String[] { "--invalid" });
throw new AssertionError("Cluster repair accepted invalid arguments");
} catch (IllegalArgumentException expected) {
if (!expected.getMessage().equals("Usage: objectstore cluster-repair [--loop]"))
throw new AssertionError("Cluster repair CLI entrypoint changed", expected);
}
System.out.println("Cluster repair CLI entrypoint passed");
}
}