You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/17 22:10:45 UTC
[GitHub] [ozone] prashantpogde commented on a change in pull request #3051: HDDS-6063. [Multi-Tenant] Use VOLUME_LOCK in read and write requests, and some minor refactoring
prashantpogde commented on a change in pull request #3051:
URL: https://github.com/apache/ozone/pull/3051#discussion_r809510362
##########
File path: hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmDBTenantInfo.java
##########
@@ -20,10 +20,12 @@
import com.google.common.base.Preconditions;
import org.apache.hadoop.hdds.StringUtils;
+import java.util.Objects;
+
/**
* This class is used for storing Ozone tenant info.
*/
-public final class OmDBTenantInfo {
+public final class OmDBTenantInfo implements Comparable<OmDBTenantInfo> {
Review comment:
Could this be hashset instead ?
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org