таблицы проблемная, и как такое фиксить? Может есть какая-то команда для глобальной проверки базы и фикса ошибок?
2020.06.24 14:20:37.448693 [ 26 ] {} <Error> void DB::SystemLog<LogElement>::flushImpl(DB::SystemLog<LogElement>::EntryType) [with LogElement = DB::QueryLogElement]: Code: 117, e.displayText() = DB::Exception: Data directory for table already containing data parts - probably it was unclean DROP table or manual intervention. You must either clear directory by hand or use ATTACH TABLE instead of CREATE TABLE if you need to use that parts., Stack trace:
0. 0x562b7b4d8640 StackTrace::StackTrace() /usr/bin/clickhouse
1. 0x562b7b4d8415 DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) /usr/bin/clickhouse
2. 0x562b7b2a3af6 ? /usr/bin/clickhouse
3. 0x562b7ec21fe2 ? /usr/bin/clickhouse
4. 0x562b7ec23075 std::_Function_handler<std::shared_ptr<DB::IStorage> (DB::StorageFactory::Arguments const&), std::shared_ptr<DB::IStorage> (*)(DB::StorageFactory::Arguments const&)>::_M_invoke(std::_Any_data const&, DB::StorageFactory::Arguments const&) /usr/bin/clickhouse
5. 0x562b7ea4b4f1 DB::StorageFactory::get(DB::ASTCreateQuery&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DB::Context&, DB::Context&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool, bool) const /usr/bin/clickhouse
6. 0x562b7e81b3d6 DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) /usr/bin/clickhouse
7. 0x562b7e81c2c3 DB::InterpreterCreateQuery::execute() /usr/bin/clickhouse
8. 0x562b7b5a0644 DB::SystemLog<DB::QueryLogElement>::prepareTable() /usr/bin/clickhouse
9. 0x562b7b5a0eac DB::SystemLog<DB::QueryLogElement>::flushImpl(DB::SystemLog<DB::QueryLogElement>::EntryType) /usr/bin/clickhouse
10. 0x562b7b5a1782 DB::SystemLog<DB::QueryLogElement>::threadFunction() /usr/bin/clickhouse
11. 0x562b7b5a231a ThreadFromGlobalPool::ThreadFromGlobalPool<DB::SystemLog<DB::QueryLogElement>::SystemLog(DB::Context&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)::{lambda()#1}>(DB::SystemLog<DB::QueryLogElement>::SystemLog(DB::Context&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)::{lambda()#1}&&)::{lambda()#1}::operator()() const /usr/bin/clickhouse
12. 0x562b7b52161c ThreadPoolImpl<std::thread>::worker(std::_List_iterator<std::thread>) /usr/bin/clickhouse
13. 0x562b811e8eb0 ? /usr/bin/clickhouse
14. 0x7fb1a54e9ea5 start_thread /usr/lib64/libpthread-2.17.so
15. 0x7fb1a4e068dd __clone /usr/lib64/libc-2.17.so
(version 19.15.3.6 (official build))
эта ошибка когда вы делаете что?
Обсуждают сегодня