swamirishi commented on code in PR #9388:
URL: https://github.com/apache/ozone/pull/9388#discussion_r2578330831


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java:
##########
@@ -381,7 +382,7 @@ private Map<String, ColumnFamily> 
toColumnFamilyMap(List<ColumnFamilyHandle> han
       final ColumnFamily f = new ColumnFamily(h);
       map.put(f.getName(), f);
     }
-    return Collections.unmodifiableMap(map);
+    return map;

Review Comment:
   yeah, when we drop the column family we need to remove the column family 
handle from the map



-- 
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