From a6745bcde34175832f3acb4219c6e703c8be1823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?alantong=28=E4=BD=9F=E6=98=8E=E8=BE=BE=29?= Date: Fri, 5 Nov 2021 10:59:59 +0800 Subject: [PATCH] double check of the complete mpu success return immediately --- src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java b/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java index 690f4aea..d923c807 100644 --- a/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java +++ b/src/main/java/org/apache/hadoop/fs/CosNativeFileSystemStore.java @@ -1271,6 +1271,7 @@ private Object callCOSClientWithRetry(X request) throws CosServiceException, } LOG.warn("Complete mpu resp not complete key [{}]", key); // todo: some other double check after cgi unified the ctime of mpu. + return new CompleteMultipartUploadResult(); } else { throw new IOException(nce); }