mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Remove redundant metric increment
This commit is contained in:
parent
db16942716
commit
ee4e6caf70
@ -18,7 +18,6 @@
|
||||
namespace CurrentMetrics
|
||||
{
|
||||
extern const Metric ReplicatedSend;
|
||||
extern const Metric ReplicatedFetch;
|
||||
}
|
||||
|
||||
namespace DB
|
||||
@ -380,8 +379,6 @@ MergeTreeData::MutableDataPartPtr Fetcher::downloadPartToDisk(
|
||||
if (disk->exists(part_download_path))
|
||||
throw Exception("Directory " + fullPath(disk, part_download_path) + " already exists.", ErrorCodes::DIRECTORY_ALREADY_EXISTS);
|
||||
|
||||
CurrentMetrics::Increment metric_increment{CurrentMetrics::ReplicatedFetch};
|
||||
|
||||
disk->createDirectories(part_download_path);
|
||||
|
||||
std::optional<FileSyncGuard> sync_guard;
|
||||
|
Loading…
Reference in New Issue
Block a user