REQ-3540: 备份

This commit is contained in:
yanglin 2025-03-11 10:46:29 +08:00
parent e07a6a7d8e
commit c0c674ae0e
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class IndexManager {
indexSupport.ensureChildNameNotUsed(node);
}
catch (NameUsedException e) {
ossClient.delete(ossFile.ossFileKey());
ossClient.safeDelete(ossFile.ossFileKey());
throw e;
}
IndexNode fileNode = indexSupport.createNode(ossFile.code(), node, IndexNodeType.FILE, IndexNodeState.VALID);

View File

@ -23,7 +23,7 @@ public class OssClient {
throw new UnsupportedOperationException();
}
public void delete(String ossFileKey) {
public void safeDelete(String ossFileKey) {
}
}