From 1252cf69ebd40f9f724aca5b3dc13388dc2c2d68 Mon Sep 17 00:00:00 2001 From: Alexandr Juncevich Date: Thu, 9 Jan 2025 12:14:33 +0300 Subject: [PATCH] HDDS-11699. Fix review notices --- .../main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java index b499f1675a98..f01e279e8928 100644 --- a/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java +++ b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java @@ -1775,7 +1775,7 @@ public OzoneKeyDetails getS3KeyDetails(String bucketName, String keyName, .filter(omKeyLocationInfo -> omKeyLocationInfo.getPartNumber() == partNumber) .collect(Collectors.toList()); - keyInfo.updateLocationInfoList(filteredKeyLocationInfo, false); + keyInfo.updateLocationInfoList(filteredKeyLocationInfo, false, true); keyInfo.setDataSize(filteredKeyLocationInfo.stream() .mapToLong(OmKeyLocationInfo::getLength) .sum());