hb03
2018.02.02 18:47:19.970069 [ 15 ] <Trace> ReadWriteBufferFromHTTP: Sending request to http://historical01:9009/?endpoint=DataPartsExchange%3A%2Fclickhouse%2Ftables%2Fshard04%2Fad.events_local_tv20%2Freplicas%2Fhistorical01&part=20180201_20180202_85735_87654_5&compress=false
2018.02.02 18:47:19.998189 [ 15 ] <Error> DB::StorageReplicatedMergeTree::queueTask()::<lambda(DB::StorageReplicatedMergeTree::LogEntryPtr&)>: Code: 33, e.displayText() = DB::Exception: Cannot read all data, e.what() = DB::Exception, Stack trace:
0. clickhouse-server(StackTrace::StackTrace()+0x15) [0x73178b5]
1. clickhouse-server(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x1e) [0x19ca19e]
2. clickhouse-server(DB::DataPartsExchange::Fetcher::fetchPart(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&, int, DB::ConnectionTimeouts const&, bool)+0x14dc) [0x685871c]
3. clickhouse-server(DB::StorageReplicatedMergeTree::fetchPart(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&, bool, unsigned long)+0x4a0) [0x6828110]
4. clickhouse-server(DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry const&)+0x1319) [0x682a1e9]
5. clickhouse-server() [0x682cc3e]
6. clickhouse-server(DB::ReplicatedMergeTreeQueue::processEntry(std::function<std::shared_ptr<zkutil::ZooKeeper> ()>, std::shared_ptr<DB::ReplicatedMergeTreeLogEntry>&, std::function<bool (std::shared_ptr<DB::ReplicatedMergeTreeLogEntry>&)>)+0x4c) [0x68f71fc]
7. clickhouse-server(DB::StorageReplicatedMergeTree::queueTask()+0x16a) [0x6813c2a]
8. clickhouse-server(DB::BackgroundProcessingPool::threadFunction()+0x466) [0x6851cf6]
9. clickhouse-server() [0x76fcfae]
10. /lib/x86_64-linux-gnu/libpthread.so.0(+0x8183) [0x7f43c43ad183]
11. /lib/x86_64-linux-gnu/libc.so.6(clone+0x6c) [0x7f43c3dd437c]
это нода historical01
стругой стороны это выглядит вот так
2018.02.02 18:55:59.430669 [ 11649978 ] <Error> InterserverIOHTTPHandler: Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Not found: shard, e.what() = Not found
2018.02.02 18:55:59.438147 [ 11653976 ] <Trace> InterserverIOHTTPHandler-factory: HTTP Request for InterserverIOHTTPHandler-factory. Method: POST, Address: 192.168.0.73:15790, User-Agent: none
2018.02.02 18:55:59.438193 [ 11653976 ] <Trace> InterserverIOHTTPHandler: Request URI: ?endpoint=DataPartsExchange%3A%2Fclickhouse%2Ftables%2Fshard04%2Fad.events_local_tv20%2Freplicas%2Fhistorical01&part=20180201_20180202_68178_85734_11&compress=false
в остальном вроде штано идет
Это сообщение возникает, когда на разных репликах используются разные версии ClickHouse. Просто обновите все реплики. Посмотрите на общее количество реплик для таблицы - в таблице system. replicas.
Обсуждают сегодня