REQ-3540: 备份
This commit is contained in:
parent
e07a6a7d8e
commit
c0c674ae0e
@ -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);
|
||||
|
||||
@ -23,7 +23,7 @@ public class OssClient {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public void delete(String ossFileKey) {
|
||||
public void safeDelete(String ossFileKey) {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user