mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Removed unused variable [#CLICKHOUSE-2].
This commit is contained in:
parent
30b6c36b83
commit
c7f35997f5
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user