diff --git a/dora/core/common/src/main/java/alluxio/collections/IndexedSet.java b/dora/core/common/src/main/java/alluxio/collections/IndexedSet.java index d584fa35321a..dd5c9d909c2e 100644 --- a/dora/core/common/src/main/java/alluxio/collections/IndexedSet.java +++ b/dora/core/common/src/main/java/alluxio/collections/IndexedSet.java @@ -136,7 +136,7 @@ public IndexedSet(IndexDefinition primaryIndexDefinition, } mPrimaryIndex = indices.get(primaryIndexDefinition); - mIndices = Collections.unmodifiableMap(indices); + mIndices = indices; } /**