We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b870c38 commit 48c484dCopy full SHA for 48c484d
mooncake-store/include/replica.h
@@ -13,7 +13,6 @@
13
#include "allocator.h"
14
#include "master_metric_manager.h"
15
16
-
17
namespace mooncake {
18
19
/**
@@ -97,11 +96,11 @@ struct DiskReplicaData {
97
96
// Automatic update allocated_file_size via RAII
98
DiskReplicaData(std::string file_path, uint64_t object_size)
99
: file_path(std::move(file_path)), object_size(object_size) {
100
- MasterMetricManager::instance().inc_allocated_file_size(object_size);
+ MasterMetricManager::instance().inc_allocated_file_size(object_size);
101
}
102
103
~DiskReplicaData() {
104
- MasterMetricManager::instance().dec_allocated_file_size(object_size);
+ MasterMetricManager::instance().dec_allocated_file_size(object_size);
105
106
};
107
0 commit comments