Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "date_time": "1729771361.463876",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50220_50220_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771361.463953",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50221_50221_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771361.464032",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50222_50222_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771361.464051",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Detached 11 parts covered by broken part 20241014_50217_50227_2: 20241014_50217_50222_1, 20241014_50223_50223_0, 20241014_50224_50224_0, 20241014_50225_50225_0, 20241014_50226_50226_0, 20241014_50217_50217_0, 20241014_50218_50218_0, 20241014_50219_50219_0, 20241014_50220_50220_0, 20241014_50221_50221_0, 20241014_50222_50222_0",
- "source_file": "src/Storages/StorageReplicatedMergeTree.cpp; void DB::StorageReplicatedMergeTree::removePartAndEnqueueFetch(const String &, bool)",
- "source_line": "4186"
- }
- {
- "date_time": "1729771361.467746",
- "thread_name": "",
- "thread_id": "266",
- "level": "Error",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (ReplicatedMergeTreeRestartingThread)",
- "message": "Failed to restart the table. Will try again: Code: 236. DB::Exception: Cannot remove part because shutdown called. (ABORTED), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000db0867b\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007e5e2ac\n2. DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x0000000007e76acb\n3. DB::StorageReplicatedMergeTree::removePartAndEnqueueFetch(String const&, bool) @ 0x0000000012570ae8\n4. DB::ReplicatedMergeTreeQueue::createLogEntriesToFetchBrokenParts() @ 0x0000000012c989b0\n5. DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x0000000012cd6550\n6. DB::ReplicatedMergeTreeRestartingThread::run() @ 0x0000000012cd3f42\n7. DB::BackgroundSchedulePool::threadFunction() @ 0x0000000010deb080\n8. void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000010dec127\n9. void* std::__thread_proxy[abi:v15007]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool)::'lambda0'()>>(void*) @ 0x000000000dbe0009\n10. ? @ 0x00007ff43aa3cac3\n11. ? @ 0x00007ff43aace850\n (version 24.8.5.115 (official build))",
- "source_file": "src/Common/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)",
- "source_line": "265"
- }
- {
- "date_time": "1729771364.340680",
- "thread_name": "TCPServerConnection ([#5])",
- "thread_id": "785",
- "level": "Error",
- "query_id": "9e782618-1b1d-46c1-9616-2effbc42cf60",
- "logger_name": "executeQuery",
- "message": "Code: 242. DB::Exception: Table is in readonly mode: replica_path=/clickhouse/tables/445efee3-08d2-4db7-bf32-3af1f8b4f2df/0/replicas/chi-signoz-clickhouse-cluster-0-0. (TABLE_IS_READ_ONLY) (version 24.8.5.115 (official build)) (from [::ffff:10.16.94.5]:45232) (in query: INSERT INTO signoz_logs.distributed_logs_v2 ( ts_bucket_start, resource_fingerprint, timestamp, observed_timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_name, scope_version, scope_string ) VALUES), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000db0867b\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007e5e2ac\n2. DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x0000000007e7196b\n3. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long)::'lambda1'()::operator()() const @ 0x0000000012cfc853\n4. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long) @ 0x0000000012ced871\n5. DB::ReplicatedMergeTreeSinkImpl<false>::finishDelayedChunk(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&) @ 0x0000000012cec5c6\n6. DB::ReplicatedMergeTreeSinkImpl<false>::onFinish() @ 0x0000000012ced039\n7. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n8. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb44e\n9. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n10. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n11. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n12. DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x00000000128b63ec\n13. DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x00000000128b34ac\n14. DB::DistributedSink::consume(DB::Chunk&) @ 0x00000000128b0326\n15. DB::SinkToStorage::onConsume(DB::Chunk) @ 0x0000000013383da4\n16. void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::ExceptionKeepingTransform::work()::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x00000000132bbe38\n17. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n18. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb375\n19. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n20. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n21. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n22. DB::TCPHandler::processInsertQuery() @ 0x0000000012fd31ec\n23. DB::TCPHandler::runImpl() @ 0x0000000012fc392d\n24. DB::TCPHandler::run() @ 0x0000000012fde538\n25. Poco::Net::TCPServerConnection::start() @ 0x0000000015dcadc7\n26. Poco::Net::TCPServerDispatcher::run() @ 0x0000000015dcb259\n27. Poco::PooledThread::run() @ 0x0000000015d98201\n28. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000015d967bd\n29. ? @ 0x00007ff43aa3cac3\n30. ? @ 0x00007ff43aace850\n",
- "source_file": "src/Interpreters/executeQuery.cpp; void DB::logException(ContextPtr, QueryLogElement &, bool)",
- "source_line": "220"
- }
- {
- "date_time": "1729771364.341020",
- "thread_name": "TCPServerConnection ([#5])",
- "thread_id": "785",
- "level": "Error",
- "query_id": "9e782618-1b1d-46c1-9616-2effbc42cf60",
- "logger_name": "TCPHandler",
- "message": "Code: 242. DB::Exception: Table is in readonly mode: replica_path=/clickhouse/tables/445efee3-08d2-4db7-bf32-3af1f8b4f2df/0/replicas/chi-signoz-clickhouse-cluster-0-0. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000db0867b\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007e5e2ac\n2. DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x0000000007e7196b\n3. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long)::'lambda1'()::operator()() const @ 0x0000000012cfc853\n4. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long) @ 0x0000000012ced871\n5. DB::ReplicatedMergeTreeSinkImpl<false>::finishDelayedChunk(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&) @ 0x0000000012cec5c6\n6. DB::ReplicatedMergeTreeSinkImpl<false>::onFinish() @ 0x0000000012ced039\n7. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n8. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb44e\n9. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n10. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n11. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n12. DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x00000000128b63ec\n13. DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x00000000128b34ac\n14. DB::DistributedSink::consume(DB::Chunk&) @ 0x00000000128b0326\n15. DB::SinkToStorage::onConsume(DB::Chunk) @ 0x0000000013383da4\n16. void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::ExceptionKeepingTransform::work()::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x00000000132bbe38\n17. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n18. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb375\n19. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n20. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n21. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n22. DB::TCPHandler::processInsertQuery() @ 0x0000000012fd31ec\n23. DB::TCPHandler::runImpl() @ 0x0000000012fc392d\n24. DB::TCPHandler::run() @ 0x0000000012fde538\n25. Poco::Net::TCPServerConnection::start() @ 0x0000000015dcadc7\n26. Poco::Net::TCPServerDispatcher::run() @ 0x0000000015dcb259\n27. Poco::PooledThread::run() @ 0x0000000015d98201\n28. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000015d967bd\n29. ? @ 0x00007ff43aa3cac3\n30. ? @ 0x00007ff43aace850\n",
- "source_file": "src/Server/TCPHandler.cpp; void DB::TCPHandler::runImpl()",
- "source_line": "717"
- }
- {
- "date_time": "1729771371.467802",
- "thread_name": "",
- "thread_id": "380",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (ReplicatedMergeTreeRestartingThread)",
- "message": "Table was in readonly mode. Will try to activate it.",
- "source_file": "src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp; bool DB::ReplicatedMergeTreeRestartingThread::runImpl()",
- "source_line": "112"
- }
- {When i deleted those directories, i now get this
- {
- "date_time": "1729771361.463876",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50220_50220_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771361.463953",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50221_50221_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771361.464032",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50222_50222_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771361.464051",
- "thread_name": "",
- "thread_id": "266",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Detached 11 parts covered by broken part 20241014_50217_50227_2: 20241014_50217_50222_1, 20241014_50223_50223_0, 20241014_50224_50224_0, 20241014_50225_50225_0, 20241014_50226_50226_0, 20241014_50217_50217_0, 20241014_50218_50218_0, 20241014_50219_50219_0, 20241014_50220_50220_0, 20241014_50221_50221_0, 20241014_50222_50222_0",
- "source_file": "src/Storages/StorageReplicatedMergeTree.cpp; void DB::StorageReplicatedMergeTree::removePartAndEnqueueFetch(const String &, bool)",
- "source_line": "4186"
- }
- {
- "date_time": "1729771361.467746",
- "thread_name": "",
- "thread_id": "266",
- "level": "Error",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (ReplicatedMergeTreeRestartingThread)",
- "message": "Failed to restart the table. Will try again: Code: 236. DB::Exception: Cannot remove part because shutdown called. (ABORTED), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000db0867b\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007e5e2ac\n2. DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x0000000007e76acb\n3. DB::StorageReplicatedMergeTree::removePartAndEnqueueFetch(String const&, bool) @ 0x0000000012570ae8\n4. DB::ReplicatedMergeTreeQueue::createLogEntriesToFetchBrokenParts() @ 0x0000000012c989b0\n5. DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x0000000012cd6550\n6. DB::ReplicatedMergeTreeRestartingThread::run() @ 0x0000000012cd3f42\n7. DB::BackgroundSchedulePool::threadFunction() @ 0x0000000010deb080\n8. void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<false, true>::ThreadFromGlobalPoolImpl<DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000010dec127\n9. void* std::__thread_proxy[abi:v15007]<std::tuple<std::unique_ptr<std::__thread_struct, std::default_delete<std::__thread_struct>>, void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool)::'lambda0'()>>(void*) @ 0x000000000dbe0009\n10. ? @ 0x00007ff43aa3cac3\n11. ? @ 0x00007ff43aace850\n (version 24.8.5.115 (official build))",
- "source_file": "src/Common/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)",
- "source_line": "265"
- }
- {
- "date_time": "1729771364.340680",
- "thread_name": "TCPServerConnection ([#5])",
- "thread_id": "785",
- "level": "Error",
- "query_id": "9e782618-1b1d-46c1-9616-2effbc42cf60",
- "logger_name": "executeQuery",
- "message": "Code: 242. DB::Exception: Table is in readonly mode: replica_path=/clickhouse/tables/445efee3-08d2-4db7-bf32-3af1f8b4f2df/0/replicas/chi-signoz-clickhouse-cluster-0-0. (TABLE_IS_READ_ONLY) (version 24.8.5.115 (official build)) (from [::ffff:10.16.94.5]:45232) (in query: INSERT INTO signoz_logs.distributed_logs_v2 ( ts_bucket_start, resource_fingerprint, timestamp, observed_timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, body, attributes_string, attributes_number, attributes_bool, resources_string, scope_name, scope_version, scope_string ) VALUES), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000db0867b\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007e5e2ac\n2. DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x0000000007e7196b\n3. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long)::'lambda1'()::operator()() const @ 0x0000000012cfc853\n4. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long) @ 0x0000000012ced871\n5. DB::ReplicatedMergeTreeSinkImpl<false>::finishDelayedChunk(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&) @ 0x0000000012cec5c6\n6. DB::ReplicatedMergeTreeSinkImpl<false>::onFinish() @ 0x0000000012ced039\n7. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n8. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb44e\n9. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n10. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n11. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n12. DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x00000000128b63ec\n13. DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x00000000128b34ac\n14. DB::DistributedSink::consume(DB::Chunk&) @ 0x00000000128b0326\n15. DB::SinkToStorage::onConsume(DB::Chunk) @ 0x0000000013383da4\n16. void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::ExceptionKeepingTransform::work()::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x00000000132bbe38\n17. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n18. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb375\n19. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n20. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n21. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n22. DB::TCPHandler::processInsertQuery() @ 0x0000000012fd31ec\n23. DB::TCPHandler::runImpl() @ 0x0000000012fc392d\n24. DB::TCPHandler::run() @ 0x0000000012fde538\n25. Poco::Net::TCPServerConnection::start() @ 0x0000000015dcadc7\n26. Poco::Net::TCPServerDispatcher::run() @ 0x0000000015dcb259\n27. Poco::PooledThread::run() @ 0x0000000015d98201\n28. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000015d967bd\n29. ? @ 0x00007ff43aa3cac3\n30. ? @ 0x00007ff43aace850\n",
- "source_file": "src/Interpreters/executeQuery.cpp; void DB::logException(ContextPtr, QueryLogElement &, bool)",
- "source_line": "220"
- }
- {
- "date_time": "1729771364.341020",
- "thread_name": "TCPServerConnection ([#5])",
- "thread_id": "785",
- "level": "Error",
- "query_id": "9e782618-1b1d-46c1-9616-2effbc42cf60",
- "logger_name": "TCPHandler",
- "message": "Code: 242. DB::Exception: Table is in readonly mode: replica_path=/clickhouse/tables/445efee3-08d2-4db7-bf32-3af1f8b4f2df/0/replicas/chi-signoz-clickhouse-cluster-0-0. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000db0867b\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007e5e2ac\n2. DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x0000000007e7196b\n3. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long)::'lambda1'()::operator()() const @ 0x0000000012cfc853\n4. DB::ReplicatedMergeTreeSinkImpl<false>::commitPart(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&, std::shared_ptr<DB::IMergeTreeDataPart>&, String const&, unsigned long) @ 0x0000000012ced871\n5. DB::ReplicatedMergeTreeSinkImpl<false>::finishDelayedChunk(std::shared_ptr<DB::ZooKeeperWithFaultInjection> const&) @ 0x0000000012cec5c6\n6. DB::ReplicatedMergeTreeSinkImpl<false>::onFinish() @ 0x0000000012ced039\n7. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n8. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb44e\n9. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n10. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n11. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n12. DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x00000000128b63ec\n13. DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x00000000128b34ac\n14. DB::DistributedSink::consume(DB::Chunk&) @ 0x00000000128b0326\n15. DB::SinkToStorage::onConsume(DB::Chunk) @ 0x0000000013383da4\n16. void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::ExceptionKeepingTransform::work()::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x00000000132bbe38\n17. DB::runStep(std::function<void ()>, DB::ThreadStatus*, std::atomic<unsigned long>*) @ 0x00000000132bbb4b\n18. DB::ExceptionKeepingTransform::work() @ 0x00000000132bb375\n19. DB::ExecutionThreadContext::executeTask() @ 0x00000000130583c7\n20. DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x000000001304cc90\n21. DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001304c6a8\n22. DB::TCPHandler::processInsertQuery() @ 0x0000000012fd31ec\n23. DB::TCPHandler::runImpl() @ 0x0000000012fc392d\n24. DB::TCPHandler::run() @ 0x0000000012fde538\n25. Poco::Net::TCPServerConnection::start() @ 0x0000000015dcadc7\n26. Poco::Net::TCPServerDispatcher::run() @ 0x0000000015dcb259\n27. Poco::PooledThread::run() @ 0x0000000015d98201\n28. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000015d967bd\n29. ? @ 0x00007ff43aa3cac3\n30. ? @ 0x00007ff43aace850\n",
- "source_file": "src/Server/TCPHandler.cpp; void DB::TCPHandler::runImpl()",
- "source_line": "717"
- }
- {
- "date_time": "1729771371.467802",
- "thread_name": "",
- "thread_id": "380",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (ReplicatedMergeTreeRestartingThread)",
- "message": "Table was in readonly mode. Will try to activate it.",
- "source_file": "src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp; bool DB::ReplicatedMergeTreeRestartingThread::runImpl()",
- "source_line": "112"
- }
- {
- "date_time": "1729771371.480485",
- "thread_name": "",
- "thread_id": "380",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50217_50222_1 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771371.480607",
- "thread_name": "",
- "thread_id": "380",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50223_50223_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- "date_time": "1729771371.480485",
- "thread_name": "",
- "thread_id": "380",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50217_50222_1 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
- {
- "date_time": "1729771371.480607",
- "thread_name": "",
- "thread_id": "380",
- "level": "Warning",
- "query_id": "",
- "logger_name": "signoz_logs.logs_v2 (445efee3-08d2-4db7-bf32-3af1f8b4f2df)",
- "message": "Directory covered-by-broken_20241014_50223_50223_0 (to detach to) already exists, but its content looks similar to content of the broken part which we are going to detach. Assuming it was already cloned to detached, will not do it again to avoid redundant copies of broken part.",
- "source_file": "src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp; virtual std::optional<String> DB::DataPartStorageOnDiskBase::getRelativePathForPrefix(LoggerPtr, const String &, bool, bool) const",
- "source_line": "89"
- }
Advertisement
Add Comment
Please, Sign In to add comment