remove logs

This commit is contained in:
Nikita Mikhaylov 2020-04-13 15:13:13 +03:00
parent a8d72d01c3
commit d5c055ab03
2 changed files with 0 additions and 13 deletions

View File

@ -2052,8 +2052,6 @@ void StorageReplicatedMergeTree::mutationsUpdatingTask()
BackgroundProcessingPoolTaskResult StorageReplicatedMergeTree::queueTask()
{
LOG_FATAL(&Poco::Logger::get("queueTask()"), "begin");
/// If replication queue is stopped exit immediately as we successfully executed the task
if (queue.actions_blocker.isCancelled())
{
@ -2583,7 +2581,6 @@ String StorageReplicatedMergeTree::findReplicaHavingCoveringPart(
*/
void StorageReplicatedMergeTree::updateQuorum(const String & part_name)
{
LOG_FATAL(&Poco::Logger::get("updateQuorum"), "BEGIN!");
auto zookeeper = getZooKeeper();
/// Information on which replicas a part has been added, if the quorum has not yet been reached.
@ -3014,7 +3011,6 @@ void StorageReplicatedMergeTree::startup()
void StorageReplicatedMergeTree::shutdown()
{
LOG_FATAL(&Poco::Logger::get("shutdown"), "SHUTDOWN!");
clearOldPartsFromFilesystem(true);
/// Cancel fetches, merges and mutations to force the queue_task to finish ASAP.
fetcher.blocker.cancelForever();
@ -5324,17 +5320,10 @@ ActionLock StorageReplicatedMergeTree::getActionLock(StorageActionBlockType acti
return merger_mutator.ttl_merges_blocker.cancel();
if (action_type == ActionLocks::PartsFetch)
{
return fetcher.blocker.cancel();
}
if (action_type == ActionLocks::PartsSend)
{
LOG_FATAL(&Poco::Logger::get("ActionLock"), "Cancel PartsSend");
return data_parts_exchange_endpoint ? data_parts_exchange_endpoint->blocker.cancel() : ActionLock();
}
if (action_type == ActionLocks::ReplicationQueue)
return queue.actions_blocker.cancel();

View File

@ -90,8 +90,6 @@ def test_polymorphic_parts_basics(start_cluster, first_node, second_node):
first_node.query("SYSTEM STOP MERGES")
second_node.query("SYSTEM STOP MERGES")
print(first_node.query("SELECT * FROM system.settings where name='insert_quorum' format Vertical"))
for size in [300, 300, 600]:
insert_random_data('polymorphic_table', first_node, size)
second_node.query("SYSTEM SYNC REPLICA polymorphic_table", timeout=20)