Skip to content

Instantly share code, notes, and snippets.

@alesapin
Created April 7, 2021 07:41
Show Gist options
  • Save alesapin/0dbbc2616a6b88d6a14467fd78dc922a to your computer and use it in GitHub Desktop.
Save alesapin/0dbbc2616a6b88d6a14467fd78dc922a to your computer and use it in GitHub Desktop.
2021.04.06 18:38:05.509976 [ 147 ] {} <Information> RaftInstance: Raft ASIO listener initiated, UNSECURED
2021.04.06 18:38:05.512530 [ 147 ] {} <Information> RaftInstance: parameters: timeout 0 - 0, heartbeat 0, leadership expiry 0, max batch 100, backoff 50, snapshot distance 10000, log sync stop gap 99999, reserved logs 10000, client timeout 10000, auto forwarding ON, API call type BLOCKING, custom commit quorum size 0, custom election quorum size 0, snapshot receiver INCLUDED, leadership transfer wait time 0
2021.04.06 18:38:05.513782 [ 147 ] {} <Information> RaftInstance: new timeout range: 0 -- 0
2021.04.06 18:38:05.515224 [ 147 ] {} <Information> RaftInstance: === INIT RAFT SERVER ===
commit index 0
term 0
election timer allowed
log store start 1, end 0
config log idx 0, prev log idx 0
2021.04.06 18:38:05.515883 [ 147 ] {} <Information> RaftInstance: peer 1: DC ID 0, localhost:44444, voting member, 1
my id: 1, voting_member
num peers: 0
2021.04.06 18:38:05.516102 [ 147 ] {} <Information> RaftInstance: global manager does not exist. will use local thread for commit and append
2021.04.06 18:38:05.532692 [ 195 ] {} <Information> RaftInstance: bg append_entries thread initiated
2021.04.06 18:38:05.532766 [ 147 ] {} <Information> RaftInstance: wait for HB, for 50 + [0, 0] ms
2021.04.06 18:38:05.585578 [ 156 ] {} <Warning> RaftInstance: Election timeout, initiate leader election
2021.04.06 18:38:05.586159 [ 156 ] {} <Information> RaftInstance: [PRIORITY] decay, target 1 -> 1, mine 1
2021.04.06 18:38:05.590545 [ 156 ] {} <Information> RaftInstance: [ELECTION TIMEOUT] current role: follower, log last term 0, state term 0, target p 1, my p 1, hb dead, pre-vote NOT done
2021.04.06 18:38:05.592407 [ 156 ] {} <Information> RaftInstance: [VOTE INIT] my id 1, my role candidate, term 1, log idx 0, log term 0, priority (target 1 / mine 1)
2021.04.06 18:38:05.593222 [ 156 ] {} <Information> RaftInstance: number of pending commit elements: 0
2021.04.06 18:38:05.597621 [ 156 ] {} <Information> RaftInstance: state machine commit index 0, precommit index 0, last log index 0
2021.04.06 18:38:05.598653 [ 156 ] {} <Information> RaftInstance: [BECOME LEADER] appended new config at 1
2021.04.06 18:38:05.633463 [ 194 ] {} <Information> RaftInstance: config at index 1 is committed, prev config log idx 0
2021.04.06 18:38:05.634186 [ 194 ] {} <Information> RaftInstance: new config log idx 1, prev log idx 0, cur config log idx 0, prev log idx 0
2021.04.06 18:38:05.634876 [ 194 ] {} <Information> RaftInstance: new configuration: log idx 1, prev log idx 0
peer 1, DC ID 0, localhost:44444, voting member, 1
my id: 1, leader: 1, term: 1
2021.04.06 18:38:05.637629 [ 148 ] {} <Trace> BaseDaemon: Received signal 11
2021.04.06 18:38:05.657946 [ 196 ] {} <Fatal> BaseDaemon: ########################################
2021.04.06 18:38:05.658671 [ 196 ] {} <Fatal> BaseDaemon: (version 21.5.1.6474, build id: 1766AC4CE8CC921D88E49A4DAF9952EDC0E246B4) (from thread 194) (no query) Received signal Segmentation fault (11)
2021.04.06 18:38:05.669492 [ 196 ] {} <Fatal> BaseDaemon: Address: 0x34 Access: read. Address not mapped to object.
2021.04.06 18:38:05.670038 [ 196 ] {} <Fatal> BaseDaemon: Stack trace: 0x21213777 0x2121412c 0x26b74893 0x26b723b5 0x26b6dd9b 0x7f5cd7f1d609 0x7f5cd7e44293
2021.04.06 18:38:05.686243 [ 147 ] {} <Debug> KeeperDispatcher: Server initialized, waiting for quorum
2021.04.06 18:38:05.874681 [ 196 ] {} <Fatal> BaseDaemon: 3.1. inlined from ./obj-x86_64-linux-gnu/../contrib/libcxx/include/atomic:1006: int std::__1::__cxx_atomic_load<int>(std::__1::__cxx_atomic_base_impl<int> const*, std::__1::memory_order)
2021.04.06 18:38:05.875373 [ 196 ] {} <Fatal> BaseDaemon: 3.2. inlined from ../contrib/libcxx/include/atomic:1615: std::__1::__atomic_base<int, false>::load(std::__1::memory_order) const
2021.04.06 18:38:05.875853 [ 196 ] {} <Fatal> BaseDaemon: 3.3. inlined from ../contrib/libcxx/include/atomic:1619: std::__1::__atomic_base<int, false>::operator int() const
2021.04.06 18:38:05.876520 [ 196 ] {} <Fatal> BaseDaemon: 3.4. inlined from ../contrib/NuRaft/include/libnuraft/raft_server.hxx:432: nuraft::raft_server::is_leader() const
2021.04.06 18:38:05.876993 [ 196 ] {} <Fatal> BaseDaemon: 3.5. inlined from ../src/Coordination/KeeperServer.cpp:185: DB::KeeperServer::isLeader() const
2021.04.06 18:38:05.877635 [ 196 ] {} <Fatal> BaseDaemon: 3. ../src/Coordination/KeeperServer.cpp:243: DB::KeeperServer::callbackFunc(nuraft::cb_func::Type, nuraft::cb_func::Param*) @ 0x21213777 in /usr/bin/clickhouse
2021.04.06 18:38:06.179754 [ 196 ] {} <Fatal> BaseDaemon: 4. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2089: nuraft::cb_func::ReturnCode std::__1::__function::__policy_invoker<nuraft::cb_func::ReturnCode (nuraft::cb_func::Type, nuraft::cb_func::Param*)>::__call_impl<std::__1::__function::__default_alloc_func<DB::KeeperServer::startup()::$_0, nuraft::cb_func::ReturnCode (nuraft::cb_func::Type, nuraft::cb_func::Param*)> >(std::__1::__function::__policy_storage const*, nuraft::cb_func::Type, nuraft::cb_func::Param*) @ 0x2121412c in /usr/bin/clickhouse
2021.04.06 18:38:06.346983 [ 196 ] {} <Fatal> BaseDaemon: 5. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:0: nuraft::raft_server::commit_in_bg_exec(unsigned long) @ 0x26b74893 in /usr/bin/clickhouse
2021.04.06 18:38:06.712631 [ 196 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../contrib/NuRaft/src/handle_commit.cxx:134: nuraft::raft_server::commit_in_bg() @ 0x26b723b5 in /usr/bin/clickhouse
2021.04.06 18:38:06.942731 [ 196 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:1655: std::__1::unique_ptr<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (nuraft::raft_server::*)(), nuraft::raft_server*> >, std::__1::default_delete<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (nuraft::raft_server::*)(), nuraft::raft_server*> > > >::reset(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (nuraft::raft_server::*)(), nuraft::raft_server*> >*)
2021.04.06 18:38:06.950104 [ 196 ] {} <Fatal> BaseDaemon: 7.2. inlined from ../contrib/libcxx/include/memory:1612: ~unique_ptr
2021.04.06 18:38:06.950754 [ 196 ] {} <Fatal> BaseDaemon: 7. ../contrib/libcxx/include/thread:293: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (nuraft::raft_server::*)(), nuraft::raft_server*> > >(void*) @ 0x26b6dd9b in /usr/bin/clickhouse
2021.04.06 18:38:06.951310 [ 196 ] {} <Fatal> BaseDaemon: 8. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
2021.04.06 18:38:06.978336 [ 196 ] {} <Fatal> BaseDaemon: 9. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.04.06 18:38:09.663036 [ 196 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: D0AD91028A0E5D7ADEEE702074EE8E74. There is no information about the reference checksum.
2021.04.06 18:38:09.663774 [ 196 ] {} <Information> SentryWriter: Not sending crash report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment