smengcl commented on code in PR #11426:
URL: https://github.com/apache/ozone/pull/11426#discussion_r4255704333


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/EndpointBase.java:
##########
@@ -790,6 +791,15 @@ protected void validateObjectKeyUri(String keyPath) throws 
OS3Exception {
     }
   }
 
+  /**
+   * Versioning is not implemented, so each object only has the null version, 
i.e. the current object.
+   *
+   * @return true if {@code versionId} refers to any other version
+   */
+  static boolean isUnsupportedVersionId(@Nullable String versionId) {
+    return versionId != null && !NULL_VERSION_ID.equals(versionId);
+  }

Review Comment:
   Thx. Done in 3bffdfe95f1



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to