Skip to content

Commit 663ebb7

Browse files
refact code
1 parent f52a696 commit 663ebb7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

fluss-server/src/main/java/org/apache/fluss/server/kv/KvManager.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ public void dropKv(TableBucket tableBucket) {
314314
try {
315315
// Unregister RocksDB metrics from TableMetricGroup
316316
serverMetricGroup.unregisterRocksDBMetrics(tablePath, tableBucket);
317-
// Remove bucket metric group and clean up table metric group if needed
318-
serverMetricGroup.removeTableBucketMetricGroup(tablePath, tableBucket);
319317

320318
dropKvTablet.drop();
321319
if (dropKvTablet.getPartitionName() == null) {

fluss-server/src/main/java/org/apache/fluss/server/kv/rocksdb/RocksDBMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public long getTotalMemoryUsage() {
224224
return 0L;
225225
}
226226

227-
// Create cache set for memory usage calculation
227+
// Create cache set for memory usage calculation.
228228
// If blockCache is null, pass null to MemoryUtil (will only count memtables, etc.)
229229
Set<Cache> caches = null;
230230
if (blockCache != null) {

0 commit comments

Comments
 (0)