Removed unused variable [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-06-25 01:36:43 +03:00
parent 30b6c36b83
commit c7f35997f5
3 changed files with 1 additions and 3 deletions

View File

@ -109,7 +109,6 @@ void ReplicatedMergeTreeBlockOutputStream::write(const Block & block)
{
assertSessionIsNotExpired(zookeeper);
++block_index;
String month_name = toString(DateLUT::instance().toNumYYYYMMDD(DayNum_t(current_block.min_date)) / 100);
AbandonableLockInZooKeeper block_number_lock = storage.allocateBlockNumber(month_name); /// 2 RTT

View File

@ -23,7 +23,6 @@ private:
StorageReplicatedMergeTree & storage;
size_t quorum;
size_t quorum_timeout_ms;
size_t block_index = 0;
using Logger = Poco::Logger;
Logger * log;

View File

@ -2802,7 +2802,7 @@ void StorageReplicatedMergeTree::attachPartition(const ASTPtr & query, const Fie
}
}
/// Synchronously check that added parts exist and are not spoiled at least on this replica. We will write checksums.txt if it does not exist.
/// Synchronously check that added parts exist and are not broken at least on this replica. We will write checksums.txt if it does not exist.
LOG_DEBUG(log, "Checking parts");
for (const String & part : parts)
{