This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new d5ce3ef8d53 HDDS-16440. (addendum) Handle directory purge submission 
failures (#11291)
d5ce3ef8d53 is described below

commit d5ce3ef8d5318152d74d1114f36c3e92fe5d86a6
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Oct 16 13:15:15 2026 +0200

    HDDS-16440. (addendum) Handle directory purge submission failures (#11291)
---
 .../apache/hadoop/ozone/om/service/TestDirectoryDeletingService.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestDirectoryDeletingService.java
 
b/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestDirectoryDeletingService.java
index 0ed826286fc..12447b37cce 100644
--- 
a/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestDirectoryDeletingService.java
+++ 
b/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestDirectoryDeletingService.java
@@ -276,7 +276,7 @@ void testPurgeDirectoriesSubmitFailure(int failedBatch, 
boolean throwException,
     String directoryName = StringUtils.repeat("d", 1200);
     OzoneManagerProtocolProtos.KeyInfo keyInfo =
         OMRequestTestUtils.createOmKeyInfo("volume", "bucket", "key", 
RatisReplicationConfig.getInstance(ONE))
-            .build().getProtobuf(ClientVersion.CURRENT_VERSION);
+            .build().getProtobuf(ClientVersion.CURRENT);
     for (int i = 0; i < 3; i++) {
       purgeList.add(PurgePathRequest.newBuilder().setVolumeId(1).setBucketId(2)
           .setDeletedDir(directoryName + i).addMarkDeletedSubDirs(keyInfo)
@@ -383,7 +383,7 @@ void testPurgeDirectoriesRecursiveAccounting(int 
failedBatch, int expectedBatche
       List<Pair<String, OmKeyInfo>> subDirs = new ArrayList<>();
       subDirs.add(Pair.of(childDeleteKey, child));
       PurgePathRequest parent = 
PurgePathRequest.newBuilder().setVolumeId(1).setBucketId(2)
-          
.setDeletedDir("parent").addMarkDeletedSubDirs(child.getProtobuf(ClientVersion.CURRENT_VERSION)).build();
+          
.setDeletedDir("parent").addMarkDeletedSubDirs(child.getProtobuf(ClientVersion.CURRENT)).build();
       List<PurgePathRequest> purgeList = new ArrayList<>();
       purgeList.add(parent);
       PurgePathRequest otherBucket = 
PurgePathRequest.newBuilder().setVolumeId(1).setBucketId(3)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to