ArafatKhan2198 commented on PR #6231: URL: https://github.com/apache/ozone/pull/6231#issuecomment-2230087092
> Thanks for working on this @ArafatKhan2198, especially on the detailed comments on the PR and in the code, it made the review much easier. I found one comment that you may not addressed, otherwise I'm fine with the changes. @dombizita The IllegalArgumentException in the given code can occur due to invalid arguments passed to methods. In the context of the convertToObjectPath method and the search logic, possible scenarios include: Invalid Volume or Bucket Names: The validateNames method can throw an IllegalArgumentException if volume or bucket names do not meet required criteria. Invalid Path Format: If the provided path does not adhere to the expected format, such as missing necessary components (volume, bucket, directory), it can lead to an IllegalArgumentException. Conversion Failures: When converting path components to IDs, if the format is incorrect or if the conversion logic encounters unexpected values, it might throw an IllegalArgumentException. -- 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]
