LOG_TRACE(log,"Server "<<result.entry->getDescription()<<" has unacceptable replica delay "<<"for table "<<table_to_check->database<<"."<<table_to_check->table<<": "<<delay);
LOG_TRACE(log,"Server "<<result.entry->getDescription()<<" has unacceptable replica delay for table "<<table_to_check->database<<"."<<table_to_check->table<<": "<<delay);
LOG_TRACE(log,"Aggregated. "<<threads_data[i].src_rows<<" to "<<rows<<" rows"<<" (from "<<threads_data[i].src_bytes/1048576.0<<" MiB)"<<" in "<<elapsed_seconds<<" sec."<<" ("<<threads_data[i].src_rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(threads_data[i].src_bytes/elapsed_seconds)<<"/sec.)");
LOG_TRACE(log,"Aggregated. "<<threads_data[i].src_rows<<" to "<<rows<<" rows (from "<<threads_data[i].src_bytes/1048576.0<<" MiB) in "<<elapsed_seconds<<" sec. ("<<threads_data[i].src_rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(threads_data[i].src_bytes/elapsed_seconds)<<"/sec.)");
LOG_TRACE(log,"Aggregated. "<<src_rows<<" to "<<rows<<" rows (from "<<formatReadableSizeWithBinarySuffix(src_bytes)<<")"<<" in "<<elapsed_seconds<<" sec."<<" ("<<src_rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(src_bytes/elapsed_seconds)<<"/sec.)");
LOG_TRACE(log,"Aggregated. "<<src_rows<<" to "<<rows<<" rows (from "<<formatReadableSizeWithBinarySuffix(src_bytes)<<") in "<<elapsed_seconds<<" sec. ("<<src_rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(src_bytes/elapsed_seconds)<<"/sec.)");
}
}
...
@@ -1293,7 +1293,7 @@ BlocksList Aggregator::convertToBlocks(AggregatedDataVariants & data_variants, b
...
@@ -1293,7 +1293,7 @@ BlocksList Aggregator::convertToBlocks(AggregatedDataVariants & data_variants, b
}
}
doubleelapsed_seconds=watch.elapsedSeconds();
doubleelapsed_seconds=watch.elapsedSeconds();
LOG_TRACE(log,"Converted aggregated data to blocks. "<<rows<<" rows, "<<bytes/1048576.0<<" MiB"<<" in "<<elapsed_seconds<<" sec."<<" ("<<rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(bytes/elapsed_seconds)<<"/sec.)");
LOG_TRACE(log,"Converted aggregated data to blocks. "<<rows<<" rows, "<<bytes/1048576.0<<" MiB in "<<elapsed_seconds<<" sec. ("<<rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(bytes/elapsed_seconds)<<"/sec.)");
LOG_WARNING(log,"Distributed DDL worker is run with readonly settings, it will not be able to execute DDL queries"<<" Set appropriate system_profile or distributed_ddl.profile to fix this.");
LOG_WARNING(log,"Distributed DDL worker is run with readonly settings, it will not be able to execute DDL queries Set appropriate system_profile or distributed_ddl.profile to fix this.");
LOG_INFO(log,"An error occurred while creating auxiliary ZooKeeper directories in "<<node_path<<" . They will be created later"<<". Error : "<<getCurrentExceptionMessage(true));
LOG_INFO_FORMATTED(log,"An error occurred while creating auxiliary ZooKeeper directories in {} . They will be created later. Error : {}",node_path,getCurrentExceptionMessage(true));
}
}
returnnode_path;
returnnode_path;
...
@@ -1217,7 +1217,7 @@ private:
...
@@ -1217,7 +1217,7 @@ private:
if(!ignoring_hosts.count(host))
if(!ignoring_hosts.count(host))
{
{
ignoring_hosts.emplace(host);
ignoring_hosts.emplace(host);
LOG_INFO(log,"Unexpected host "<<host<<" appeared "<<" in task "<<node_path);
LOG_INFO_FORMATTED(log,"Unexpected host {} appeared in task {}",host,node_path);
LOG_ERROR(&Logger::get("executeQuery"),elem.exception<<" (from "<<context.getClientInfo().current_address.toString()<<")"<<" (in query: "<<joinLines(elem.query)<<")"<<(!elem.stack_trace.empty()?", Stack trace (when copying this message, always include the lines below):\n\n"+elem.stack_trace:""));
LOG_ERROR(&Logger::get("executeQuery"),elem.exception<<" (from "<<context.getClientInfo().current_address.toString()<<") (in query: "<<joinLines(elem.query)<<")"<<(!elem.stack_trace.empty()?", Stack trace (when copying this message, always include the lines below):\n\n"+elem.stack_trace:""));
LOG_TRACE(log,"Thread finished. Total time: "<<(context->total_time_ns/1e9)<<" sec. Execution time: "<<(context->execution_time_ns/1e9)<<" sec. Processing time: "<<(context->processing_time_ns/1e9)<<" sec. Wait time: "<<(context->wait_time_ns/1e9)<<" sec.");
LOG_TRACE(log,"Aggregated. "<<src_rows<<" to "<<rows<<" rows (from "<<src_bytes/1048576.0<<" MiB)"<<" in "<<elapsed_seconds<<" sec."<<" ("<<src_rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(src_bytes/elapsed_seconds)<<"/sec.)");
LOG_TRACE(log,"Aggregated. "<<src_rows<<" to "<<rows<<" rows (from "<<src_bytes/1048576.0<<" MiB) in "<<elapsed_seconds<<" sec. ("<<src_rows/elapsed_seconds<<" rows/sec., "<<formatReadableSizeWithBinarySuffix(src_bytes/elapsed_seconds)<<"/sec.)");
LOG_DEBUG(log,"It took "<<std::fixed<<std::setprecision(1)<<elapsed<<" sec. to insert "<<inserted_blocks<<" blocks"<<", "<<std::fixed<<std::setprecision(1)<<inserted_rows/elapsed<<" rows per second"<<". "<<getCurrentStateDescription());
LOG_DEBUG(log,"It took "<<std::fixed<<std::setprecision(1)<<elapsed<<" sec. to insert "<<inserted_blocks<<" blocks, "<<std::fixed<<std::setprecision(1)<<inserted_rows/elapsed<<" rows per second. "<<getCurrentStateDescription());
LOG_ERROR(log,"The set of parts restored in place of "<<part->name<<" looks incomplete."<<" There might or might not be a data loss."<<(error_parts.empty()?"":" Suspicious parts: "+error_parts));
LOG_ERROR_FORMATTED(log,"The set of parts restored in place of {} looks incomplete. There might or might not be a data loss.{}",part->name,(error_parts.empty()?"":" Suspicious parts: "+error_parts));
LOG_INFO(log,"Failed to swap "<<cloned_part->name<<". Active part doesn't exist."<<" Possible it was merged or mutated. Will remove copy on path '"<<cloned_part->getFullPath()<<"'.");
LOG_INFO_FORMATTED(log,"Failed to swap {}. Active part doesn't exist. Possible it was merged or mutated. Will remove copy on path '{}'.",cloned_part->name,cloned_part->getFullPath());
LOG_ERROR(log,"Couldn't set value of nodes for insert times ("<<replica_path<<"/min_unprocessed_insert_time, max_processed_insert_time)"<<": "<<zkutil::ZooKeeper::error2string(code)+". This shouldn't happen often.");
LOG_ERROR_FORMATTED(log,"Couldn't set value of nodes for insert times ({}/min_unprocessed_insert_time, max_processed_insert_time): {}",replica_path,zkutil::ZooKeeper::error2string(code)+". This shouldn't happen often.");
LOG_TRACE(queue.log,"Mutation "<<mutation.znode_name<<" is not done yet because "<<"in partition ID "<<partition_id<<" there are still "<<blocks_count<<" uncommitted blocks.");
LOG_TRACE(queue.log,"Mutation "<<mutation.znode_name<<" is not done yet because in partition ID "<<partition_id<<" there are still "<<blocks_count<<" uncommitted blocks.");
LOG_WARNING(log,"Storage "<<getName()<<" is run with readonly settings, it will not be able to insert data."<<" Set appropriate system_profile to fix this.");
LOG_WARNING(log,"Storage "<<getName()<<" is run with readonly settings, it will not be able to insert data. Set appropriate system_profile to fix this.");
LOG_WARNING(log,"No active replica has part "<<entry.new_part_name<<", but that part needs quorum and /quorum/status contains entry about another part "<<quorum_entry.part_name<<". It means that part was successfully written to "<<entry.quorum<<" replicas, but then all of them goes offline."<<" Or it is a bug.");
LOG_WARNING(log,"No active replica has part "<<entry.new_part_name<<", but that part needs quorum and /quorum/status contains entry about another part "<<quorum_entry.part_name<<". It means that part was successfully written to "<<entry.quorum<<" replicas, but then all of them goes offline. Or it is a bug.");
LOG_INFO(log,"Can't use "<<source_table_id.getNameForLogs()<<" as source table for REPLACE PARTITION command. Will fetch all parts."<<" Reason: "<<getCurrentExceptionMessage(false));
LOG_INFO_FORMATTED(log,"Can't use {} as source table for REPLACE PARTITION command. Will fetch all parts. Reason: {}",source_table_id.getNameForLogs(),getCurrentExceptionMessage(false));
LOG_WARNING(log,"Part "<<part->name<<" (that was selected for merge)"<<" with age "<<(time(nullptr)-part->modification_time)<<" seconds exists locally but not in ZooKeeper."<<" Won't do merge with that part and will check it.");
LOG_WARNING(log,"Part "<<part->name<<" (that was selected for merge) with age "<<(time(nullptr)-part->modification_time)<<" seconds exists locally but not in ZooKeeper. Won't do merge with that part and will check it.");
LOG_WARNING(log,"Part "<<part.name<<" (that was selected for mutation)"<<" with age "<<(time(nullptr)-part.modification_time)<<" seconds exists locally but not in ZooKeeper."<<" Won't mutate that part and will check it.");
LOG_WARNING(log,"Part "<<part.name<<" (that was selected for mutation) with age "<<(time(nullptr)-part.modification_time)<<" seconds exists locally but not in ZooKeeper. Won't mutate that part and will check it.");