From 0b0ad8ac191977605349de24989ab3c44317fc73 Mon Sep 17 00:00:00 2001 From: "Xin(Adam) Chen" Date: Fri, 27 Sep 2024 20:33:37 -0700 Subject: [PATCH] static --- .../java/com/linkedin/venice/meta/StoreConfig.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/internal/venice-common/src/main/java/com/linkedin/venice/meta/StoreConfig.java b/internal/venice-common/src/main/java/com/linkedin/venice/meta/StoreConfig.java index e53cc408aa..93b6893b9e 100644 --- a/internal/venice-common/src/main/java/com/linkedin/venice/meta/StoreConfig.java +++ b/internal/venice-common/src/main/java/com/linkedin/venice/meta/StoreConfig.java @@ -90,6 +90,16 @@ public StoreConfig cloneStoreConfig() { return clonedStoreConfig; } + @Override + public int hashCode() { + return Objects.hash( + storeClusterConfig.storeName, + storeClusterConfig.cluster, + storeClusterConfig.deleting, + storeClusterConfig.migrationSrcCluster, + storeClusterConfig.migrationDestCluster); + } + @Override public boolean equals(Object o) { if (this == o) {