2025.05.14 01:41:21.494130 [ 1 ] {} : Starting ClickHouse Keeper 23.8.7.1(revision : 54477, git hash: 3042d295d963012962f5c683bd2776fa331a38c3, build id: ), PID 16476 2025.05.14 01:41:21.494370 [ 1 ] {} Application: starting up 2025.05.14 01:41:21.494424 [ 1 ] {} Application: OS Name = SunOS, OS Version = 5.11, OS Architecture = i86pc 2025.05.14 01:41:21.495977 [ 1 ] {} Application: Initializing DateLUT. 2025.05.14 01:41:21.496004 [ 1 ] {} Application: Initialized DateLUT with time zone 'UTC'. 2025.05.14 01:41:21.499704 [ 1 ] {} Context: Cannot connect to ZooKeeper (or Keeper) before internal Keeper start, will wait for Keeper synchronously 2025.05.14 01:41:21.499797 [ 1 ] {} KeeperDispatcher: Initializing storage dispatcher 2025.05.14 01:41:21.500302 [ 1 ] {} KeeperContext: Keeper feature flag FILTERED_LIST: enabled 2025.05.14 01:41:21.500321 [ 1 ] {} KeeperContext: Keeper feature flag MULTI_READ: enabled 2025.05.14 01:41:21.500343 [ 1 ] {} KeeperContext: Keeper feature flag CHECK_NOT_EXISTS: disabled 2025.05.14 01:41:21.500783 [ 1 ] {} KeeperSnapshotManager: Reading from disk LocalSnapshotDisk 2025.05.14 01:41:21.501281 [ 1 ] {} KeeperLogStore: Reading from disk LocalLogDisk 2025.05.14 01:41:21.501353 [ 1 ] {} KeeperLogStore: No logs exists in /var/tmp/omicron_tmp/oximeter_db-11d8f51cb75f441f-test_ensure_schema_walks_through_multiple_steps_replicated.16475.1-clickhouse-iFcRob/log. It's Ok if it's the first run of clickhouse-keeper. 2025.05.14 01:41:21.501563 [ 1 ] {} KeeperLogStore: force_sync enabled 2025.05.14 01:41:21.501579 [ 1 ] {} KeeperDispatcher: Waiting server to initialize 2025.05.14 01:41:21.501588 [ 1 ] {} KeeperStateMachine: Totally have 0 snapshots 2025.05.14 01:41:21.501600 [ 1 ] {} KeeperStateMachine: No existing snapshots, last committed log index 0 2025.05.14 01:41:21.501667 [ 1 ] {} KeeperLogStore: Removing all changelogs 2025.05.14 01:41:21.501759 [ 1 ] {} Changelog: Starting new changelog changelog_1_100000.bin.zstd 2025.05.14 01:41:21.501940 [ 1 ] {} KeeperServer: Preprocessing 0 log entries 2025.05.14 01:41:21.501956 [ 1 ] {} KeeperServer: Preprocessing done 2025.05.14 01:41:21.501986 [ 1 ] {} KeeperServer: No config in log store and snapshot, probably it's initial run. Will use config from .xml on disk 2025.05.14 01:41:21.504664 [ 1 ] {} RaftInstance: Raft ASIO listener initiated on :::9234, unsecured 2025.05.14 01:41:21.504942 [ 1 ] {} KeeperStateManager: No state was read 2025.05.14 01:41:21.505183 [ 1 ] {} RaftInstance: parameters: election timeout range 1000 - 2000, heartbeat 500, leadership expiry 10000, max batch 100, backoff 50, snapshot distance 100000, enable randomized snapshot creation NO, log sync stop gap 99999, reserved logs 100000, client timeout 10000, auto forwarding on, API call type async, custom commit quorum size 0, custom election quorum size 0, snapshot receiver included, leadership transfer wait time 0, grace period of lagging state machine 0, snapshot IO: blocking, parallel log appending: on 2025.05.14 01:41:21.505246 [ 1 ] {} RaftInstance: new election timeout range: 1000 - 2000 2025.05.14 01:41:21.505312 [ 1 ] {} 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 2025.05.14 01:41:21.505497 [ 1 ] {} RaftInstance: asio client created: 1bc071e0 2025.05.14 01:41:21.505543 [ 1 ] {} RaftInstance: asio client created: 1bc06060 2025.05.14 01:41:21.505560 [ 1 ] {} RaftInstance: peer 1: DC ID 0, ::1:9234, voting member, 1 peer 2: DC ID 0, ::1:9235, voting member, 1 peer 3: DC ID 0, ::1:9236, voting member, 1 my id: 1, voting_member num peers: 2 2025.05.14 01:41:21.505576 [ 1 ] {} RaftInstance: global manager does not exist. will use local thread for commit and append 2025.05.14 01:41:21.505704 [ 1 ] {} RaftInstance: wait for HB, for 50 + [1000, 2000] ms 2025.05.14 01:41:21.505779 [ 20 ] {} RaftInstance: commit_cv_ sleep 2025.05.14 01:41:21.505830 [ 21 ] {} RaftInstance: bg append_entries thread initiated 2025.05.14 01:41:21.556281 [ 1 ] {} RaftInstance: re-schedule election timer 2025.05.14 01:41:21.556340 [ 1 ] {} RaftInstance: server 1 started 2025.05.14 01:41:21.556414 [ 1 ] {} RaftInstance: asio rpc session created: 1c9199a0 2025.05.14 01:41:21.556510 [ 1 ] {} KeeperDispatcher: Server initialized, waiting for quorum 2025.05.14 01:41:23.378180 [ 12 ] {} RaftInstance: election timeout 2025.05.14 01:41:23.378236 [ 12 ] {} RaftInstance: Election timeout, initiate leader election 2025.05.14 01:41:23.378286 [ 12 ] {} RaftInstance: [PRIORITY] decay, target 1 -> 1, mine 1 2025.05.14 01:41:23.378303 [ 12 ] {} 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 2025.05.14 01:41:23.378361 [ 12 ] {} RaftInstance: [PRE-VOTE INIT] my id 1, my role candidate, term 0, log idx 0, log term 0, priority (target 1 / mine 1) 2025.05.14 01:41:23.378381 [ 12 ] {} RaftInstance: send req 1 -> 3, type pre_vote_request 2025.05.14 01:41:23.378392 [ 12 ] {} RaftInstance: socket 1bc06060 to ::1:9236 is not opened yet 2025.05.14 01:41:23.378575 [ 12 ] {} RaftInstance: send req 1 -> 2, type pre_vote_request 2025.05.14 01:41:23.378596 [ 12 ] {} RaftInstance: socket 1bc071e0 to ::1:9235 is not opened yet 2025.05.14 01:41:23.378606 [ 12 ] {} RaftInstance: cancel existing timer 2025.05.14 01:41:23.378612 [ 12 ] {} RaftInstance: re-schedule election timer 2025.05.14 01:41:23.379650 [ 19 ] {} RaftInstance: 1bc06060 connected to ::1:9236 (as a client) 2025.05.14 01:41:23.379706 [ 12 ] {} RaftInstance: receive a incoming rpc connection 2025.05.14 01:41:23.379769 [ 12 ] {} RaftInstance: session 1 got connection from ::1:41690 (as a server) 2025.05.14 01:41:23.379788 [ 19 ] {} RaftInstance: 1bc071e0 connected to ::1:9235 (as a client) 2025.05.14 01:41:23.379879 [ 12 ] {} RaftInstance: asio rpc session created: 1c9190a0 2025.05.14 01:41:23.380250 [ 17 ] {} RaftInstance: Receive a pre_vote_request message from 2 with LastLogIndex=0, LastLogTerm 0, EntriesLength=0, CommitIndex=0 and Term=0 2025.05.14 01:41:23.380312 [ 17 ] {} RaftInstance: [PRE-VOTE REQ] my role candidate, from peer 2, log term: req 0 / mine 0 last idx: req 0 / mine 0, term: req 0 / mine 0 HB dead 2025.05.14 01:41:23.380325 [ 17 ] {} RaftInstance: pre-vote decision: O (grant) 2025.05.14 01:41:23.380337 [ 17 ] {} RaftInstance: Response back a pre_vote_response message to 2 with Accepted=1, Term=0, NextIndex=1 2025.05.14 01:41:23.380553 [ 16 ] {} RaftInstance: resp of req 1 -> 2, type pre_vote_request, OK 2025.05.14 01:41:23.380643 [ 16 ] {} RaftInstance: Receive a pre_vote_response message from peer 2 with Result=1, Term=0, NextIndex=1 2025.05.14 01:41:23.380656 [ 16 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 0 2025.05.14 01:41:23.380670 [ 16 ] {} RaftInstance: [PRE-VOTE RESP] peer 2 (O), term 0, resp term 0, my role candidate, dead 2, live 0, abandoned 0, num voting members 3, quorum 2 2025.05.14 01:41:23.380682 [ 16 ] {} RaftInstance: [PRE-VOTE DONE] SUCCESS, term 0 2025.05.14 01:41:23.380694 [ 16 ] {} RaftInstance: [PRE-VOTE DONE] initiate actual vote 2025.05.14 01:41:23.380971 [ 16 ] {} RaftInstance: [VOTE INIT] my id 1, my role candidate, term 1, log idx 0, log term 0, priority (target 1 / mine 1) 2025.05.14 01:41:23.380994 [ 16 ] {} RaftInstance: send request_vote_request to server 3 with term 1 2025.05.14 01:41:23.380993 [ 17 ] {} RaftInstance: Receive a request_vote_request message from 2 with LastLogIndex=0, LastLogTerm 0, EntriesLength=0, CommitIndex=0 and Term=1 2025.05.14 01:41:23.381012 [ 16 ] {} RaftInstance: failed to send vote request: peer 3 (::1:9236) is busy 2025.05.14 01:41:23.381051 [ 16 ] {} RaftInstance: send request_vote_request to server 2 with term 1 2025.05.14 01:41:23.381057 [ 16 ] {} RaftInstance: send req 1 -> 2, type request_vote_request 2025.05.14 01:41:23.381123 [ 16 ] {} RaftInstance: cancel existing timer 2025.05.14 01:41:23.381151 [ 16 ] {} RaftInstance: re-schedule election timer 2025.05.14 01:41:23.381291 [ 17 ] {} RaftInstance: [VOTE REQ] my role candidate, from peer 2, log term: req 0 / mine 0 last idx: req 0 / mine 0, term: req 1 / mine 1 priority: target 1 / mine 1, voted_for 1 2025.05.14 01:41:23.381301 [ 12 ] {} RaftInstance: resp of req 1 -> 2, type request_vote_request, OK 2025.05.14 01:41:23.381321 [ 17 ] {} RaftInstance: decision: X (deny), term 1 2025.05.14 01:41:23.381357 [ 17 ] {} RaftInstance: Response back a request_vote_response message to 2 with Accepted=0, Term=1, NextIndex=0 2025.05.14 01:41:23.381367 [ 12 ] {} RaftInstance: Receive a request_vote_response message from peer 2 with Result=0, Term=1, NextIndex=0 2025.05.14 01:41:23.381366 [ 14 ] {} RaftInstance: resp of req 1 -> 3, type pre_vote_request, OK 2025.05.14 01:41:23.381381 [ 12 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 1 2025.05.14 01:41:23.381465 [ 12 ] {} RaftInstance: [VOTE RESP] peer 2 (X), resp term 1, my role candidate, granted 1, responded 2, num voting members 3, quorum 2 2025.05.14 01:41:23.381525 [ 14 ] {} RaftInstance: Receive a pre_vote_response message from peer 3 with Result=1, Term=0, NextIndex=1 2025.05.14 01:41:23.381551 [ 14 ] {} RaftInstance: src: 3, dst: 1, resp->get_term(): 0 2025.05.14 01:41:23.381564 [ 14 ] {} RaftInstance: [PRE-VOTE RESP] peer 3 (O), term 0, resp term 0, my role candidate, dead 3, live 0, abandoned 0, num voting members 3, quorum 2 2025.05.14 01:41:23.381587 [ 14 ] {} RaftInstance: [PRE-VOTE DONE] SUCCESS, term 0 2025.05.14 01:41:23.381612 [ 14 ] {} RaftInstance: [PRE-VOTE DONE] actual vote is already initiated, do nothing 2025.05.14 01:41:24.333356 [ 17 ] {} RaftInstance: receive a incoming rpc connection 2025.05.14 01:41:24.333420 [ 17 ] {} RaftInstance: session 2 got connection from ::1:64933 (as a server) 2025.05.14 01:41:24.333533 [ 17 ] {} RaftInstance: asio rpc session created: 1c94f6e0 2025.05.14 01:41:24.333573 [ 14 ] {} RaftInstance: Receive a pre_vote_request message from 3 with LastLogIndex=0, LastLogTerm 0, EntriesLength=0, CommitIndex=0 and Term=0 2025.05.14 01:41:24.333637 [ 14 ] {} RaftInstance: [PRE-VOTE REQ] my role candidate, from peer 3, log term: req 0 / mine 0 last idx: req 0 / mine 0, term: req 0 / mine 1 HB dead 2025.05.14 01:41:24.333646 [ 14 ] {} RaftInstance: pre-vote decision: O (grant) 2025.05.14 01:41:24.333669 [ 14 ] {} RaftInstance: Response back a pre_vote_response message to 3 with Accepted=1, Term=0, NextIndex=1 2025.05.14 01:41:24.334350 [ 17 ] {} RaftInstance: Receive a request_vote_request message from 3 with LastLogIndex=0, LastLogTerm 0, EntriesLength=0, CommitIndex=0 and Term=1 2025.05.14 01:41:24.334392 [ 17 ] {} RaftInstance: [VOTE REQ] my role candidate, from peer 3, log term: req 0 / mine 0 last idx: req 0 / mine 0, term: req 1 / mine 1 priority: target 1 / mine 1, voted_for 1 2025.05.14 01:41:24.334415 [ 17 ] {} RaftInstance: decision: X (deny), term 1 2025.05.14 01:41:24.334424 [ 17 ] {} RaftInstance: Response back a request_vote_response message to 3 with Accepted=0, Term=1, NextIndex=0 2025.05.14 01:41:24.777912 [ 14 ] {} RaftInstance: election timeout 2025.05.14 01:41:24.777991 [ 14 ] {} RaftInstance: Election timeout, initiate leader election 2025.05.14 01:41:24.778050 [ 14 ] {} RaftInstance: [PRIORITY] decay, target 1 -> 1, mine 1 2025.05.14 01:41:24.778067 [ 14 ] {} RaftInstance: [ELECTION TIMEOUT] current role: candidate, log last term 0, state term 1, target p 1, my p 1, hb dead, pre-vote done 2025.05.14 01:41:24.778079 [ 14 ] {} RaftInstance: pre-vote term (0) is different, reset it to 1 2025.05.14 01:41:24.778100 [ 14 ] {} RaftInstance: [PRE-VOTE INIT] my id 1, my role candidate, term 1, log idx 0, log term 0, priority (target 1 / mine 1) 2025.05.14 01:41:24.778121 [ 14 ] {} RaftInstance: send req 1 -> 3, type pre_vote_request 2025.05.14 01:41:24.778181 [ 14 ] {} RaftInstance: send req 1 -> 2, type pre_vote_request 2025.05.14 01:41:24.778266 [ 14 ] {} RaftInstance: cancel existing timer 2025.05.14 01:41:24.778280 [ 14 ] {} RaftInstance: re-schedule election timer 2025.05.14 01:41:24.778459 [ 12 ] {} RaftInstance: resp of req 1 -> 3, type pre_vote_request, OK 2025.05.14 01:41:24.778526 [ 12 ] {} RaftInstance: Receive a pre_vote_response message from peer 3 with Result=1, Term=1, NextIndex=1 2025.05.14 01:41:24.778534 [ 12 ] {} RaftInstance: src: 3, dst: 1, resp->get_term(): 1 2025.05.14 01:41:24.778546 [ 12 ] {} RaftInstance: [PRE-VOTE RESP] peer 3 (O), term 1, resp term 1, my role candidate, dead 2, live 0, abandoned 0, num voting members 3, quorum 2 2025.05.14 01:41:24.778557 [ 12 ] {} RaftInstance: [PRE-VOTE DONE] SUCCESS, term 1 2025.05.14 01:41:24.778566 [ 14 ] {} RaftInstance: resp of req 1 -> 2, type pre_vote_request, OK 2025.05.14 01:41:24.778569 [ 12 ] {} RaftInstance: [PRE-VOTE DONE] initiate actual vote 2025.05.14 01:41:24.778751 [ 12 ] {} IDisk: Copying from LocalStateFileDisk (path: /var/tmp/omicron_tmp/oximeter_db-11d8f51cb75f441f-test_ensure_schema_walks_through_multiple_steps_replicated.16475.1-clickhouse-iFcRob/snapshots) state to LocalStateFileDisk (path: /var/tmp/omicron_tmp/oximeter_db-11d8f51cb75f441f-test_ensure_schema_walks_through_multiple_steps_replicated.16475.1-clickhouse-iFcRob/snapshots) state-OLD. 2025.05.14 01:41:24.779153 [ 12 ] {} RaftInstance: [VOTE INIT] my id 1, my role candidate, term 2, log idx 0, log term 0, priority (target 1 / mine 1) 2025.05.14 01:41:24.779176 [ 12 ] {} RaftInstance: send request_vote_request to server 3 with term 2 2025.05.14 01:41:24.779184 [ 12 ] {} RaftInstance: send req 1 -> 3, type request_vote_request 2025.05.14 01:41:24.779250 [ 12 ] {} RaftInstance: send request_vote_request to server 2 with term 2 2025.05.14 01:41:24.779258 [ 12 ] {} RaftInstance: send req 1 -> 2, type request_vote_request 2025.05.14 01:41:24.779299 [ 12 ] {} RaftInstance: cancel existing timer 2025.05.14 01:41:24.779322 [ 12 ] {} RaftInstance: re-schedule election timer 2025.05.14 01:41:24.779377 [ 14 ] {} RaftInstance: Receive a pre_vote_response message from peer 2 with Result=1, Term=1, NextIndex=1 2025.05.14 01:41:24.779423 [ 14 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 1 2025.05.14 01:41:24.779439 [ 14 ] {} RaftInstance: [PRE-VOTE RESP] peer 2 (O), term 1, resp term 1, my role candidate, dead 3, live 0, abandoned 0, num voting members 3, quorum 2 2025.05.14 01:41:24.779452 [ 14 ] {} RaftInstance: [PRE-VOTE DONE] SUCCESS, term 1 2025.05.14 01:41:24.779463 [ 14 ] {} RaftInstance: [PRE-VOTE DONE] actual vote is already initiated, do nothing 2025.05.14 01:41:24.780407 [ 19 ] {} RaftInstance: resp of req 1 -> 2, type request_vote_request, OK 2025.05.14 01:41:24.780443 [ 19 ] {} RaftInstance: Receive a request_vote_response message from peer 2 with Result=1, Term=2, NextIndex=1 2025.05.14 01:41:24.780454 [ 19 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 2 2025.05.14 01:41:24.780466 [ 19 ] {} RaftInstance: [VOTE RESP] peer 2 (O), resp term 2, my role candidate, granted 2, responded 2, num voting members 3, quorum 2 2025.05.14 01:41:24.780484 [ 19 ] {} RaftInstance: Server is elected as leader for term 2 2025.05.14 01:41:24.780518 [ 19 ] {} RaftInstance: number of pending commit elements: 0 2025.05.14 01:41:24.780543 [ 19 ] {} RaftInstance: state machine commit index 0, precommit index 0, last log index 0 2025.05.14 01:41:24.780555 [ 19 ] {} RaftInstance: peer 3, interval: 500 2025.05.14 01:41:24.780567 [ 19 ] {} RaftInstance: peer 2, interval: 500 2025.05.14 01:41:24.780574 [ 14 ] {} RaftInstance: resp of req 1 -> 3, type request_vote_request, OK 2025.05.14 01:41:24.780589 [ 19 ] {} RaftInstance: [BECOME LEADER] appended new config at 1 2025.05.14 01:41:24.781027 [ 19 ] {} RaftInstance: send request to 3 2025.05.14 01:41:24.781042 [ 10 ] {} RaftInstance: got log append completion notification: OK 2025.05.14 01:41:24.781052 [ 19 ] {} RaftInstance: last_log_idx: 0, starting_idx: 1, cur_nxt_idx: 2 2025.05.14 01:41:24.781081 [ 19 ] {} RaftInstance: append_entries for 3 with LastLogIndex=0, LastLogTerm=0, EntriesLength=1, CommitIndex=0, Term=2, peer_last_sent_idx 0 2025.05.14 01:41:24.781088 [ 19 ] {} RaftInstance: idx: 1 2025.05.14 01:41:24.781100 [ 19 ] {} RaftInstance: send req 1 -> 3, type append_entries_request 2025.05.14 01:41:24.781174 [ 19 ] {} RaftInstance: sent 2025.05.14 01:41:24.781183 [ 19 ] {} RaftInstance: send request to 2 2025.05.14 01:41:24.781189 [ 19 ] {} RaftInstance: last_log_idx: 0, starting_idx: 1, cur_nxt_idx: 2 2025.05.14 01:41:24.781202 [ 19 ] {} RaftInstance: append_entries for 2 with LastLogIndex=0, LastLogTerm=0, EntriesLength=1, CommitIndex=0, Term=2, peer_last_sent_idx 0 2025.05.14 01:41:24.781208 [ 19 ] {} RaftInstance: idx: 1 2025.05.14 01:41:24.781215 [ 19 ] {} RaftInstance: send req 1 -> 2, type append_entries_request 2025.05.14 01:41:24.781236 [ 19 ] {} RaftInstance: sent 2025.05.14 01:41:24.781246 [ 19 ] {} RaftInstance: === LEADER (term 2) === 2025.05.14 01:41:24.781296 [ 10 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:24.781317 [ 10 ] {} RaftInstance: quorum idx 1, 1 0 0 2025.05.14 01:41:24.781326 [ 10 ] {} RaftInstance: local log idx 1, target_commit_idx 0, quick_commit_index_ 0, state_->get_commit_idx() 0 2025.05.14 01:41:24.781385 [ 14 ] {} RaftInstance: Receive a request_vote_response message from peer 3 with Result=1, Term=2, NextIndex=1 2025.05.14 01:41:24.781436 [ 14 ] {} RaftInstance: src: 3, dst: 1, resp->get_term(): 2 2025.05.14 01:41:24.781523 [ 14 ] {} RaftInstance: Election completed, will ignore the voting result from this server 2025.05.14 01:41:24.782187 [ 12 ] {} RaftInstance: resp of req 1 -> 3, type append_entries_request, OK 2025.05.14 01:41:24.782212 [ 12 ] {} RaftInstance: Receive a append_entries_response message from peer 3 with Result=1, Term=2, NextIndex=2 2025.05.14 01:41:24.782231 [ 12 ] {} RaftInstance: src: 3, dst: 1, resp->get_term(): 2 2025.05.14 01:41:24.782240 [ 12 ] {} RaftInstance: handle append entries resp (from 3), resp.get_next_idx(): 2 2025.05.14 01:41:24.782247 [ 12 ] {} RaftInstance: peer 3 batch size hint: 0 bytes 2025.05.14 01:41:24.782256 [ 12 ] {} RaftInstance: peer 3, prev matched idx: 0, new matched idx: 1 2025.05.14 01:41:24.782266 [ 12 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:24.782278 [ 12 ] {} RaftInstance: quorum idx 1, 1 1 0 2025.05.14 01:41:24.782285 [ 12 ] {} RaftInstance: trigger commit upto 1 2025.05.14 01:41:24.782291 [ 12 ] {} RaftInstance: send request to 3 2025.05.14 01:41:24.782297 [ 12 ] {} RaftInstance: last_log_idx: 1, starting_idx: 1, cur_nxt_idx: 2 2025.05.14 01:41:24.782305 [ 12 ] {} RaftInstance: append_entries for 3 with LastLogIndex=1, LastLogTerm=2, EntriesLength=0, CommitIndex=1, Term=2, peer_last_sent_idx 1 2025.05.14 01:41:24.782322 [ 12 ] {} RaftInstance: EMPTY PAYLOAD 2025.05.14 01:41:24.782328 [ 12 ] {} RaftInstance: send req 1 -> 3, type append_entries_request 2025.05.14 01:41:24.782361 [ 12 ] {} RaftInstance: sent 2025.05.14 01:41:24.782371 [ 12 ] {} RaftInstance: Server 2 is busy, skip the request 2025.05.14 01:41:24.782378 [ 12 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 0 2025.05.14 01:41:24.782392 [ 12 ] {} RaftInstance: commit_cv_ notify (local thread) 2025.05.14 01:41:24.782458 [ 12 ] {} RaftInstance: resp of req 1 -> 2, type append_entries_request, OK 2025.05.14 01:41:24.782458 [ 20 ] {} RaftInstance: commit_cv_ wake up 2025.05.14 01:41:24.782472 [ 12 ] {} RaftInstance: Receive a append_entries_response message from peer 2 with Result=1, Term=2, NextIndex=2 2025.05.14 01:41:24.782556 [ 12 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 2 2025.05.14 01:41:24.782570 [ 20 ] {} RaftInstance: commit upto 1, current idx 0 2025.05.14 01:41:24.782574 [ 12 ] {} RaftInstance: handle append entries resp (from 2), resp.get_next_idx(): 2 2025.05.14 01:41:24.782590 [ 20 ] {} RaftInstance: commit upto 1, current idx 1 2025.05.14 01:41:24.782604 [ 12 ] {} RaftInstance: peer 2 batch size hint: 0 bytes 2025.05.14 01:41:24.782623 [ 12 ] {} RaftInstance: peer 2, prev matched idx: 0, new matched idx: 1 2025.05.14 01:41:24.782630 [ 12 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:24.782642 [ 12 ] {} RaftInstance: quorum idx 1, 1 1 1 2025.05.14 01:41:24.782650 [ 12 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 0 2025.05.14 01:41:24.782658 [ 12 ] {} RaftInstance: commit_cv_ notify (local thread) 2025.05.14 01:41:24.782666 [ 12 ] {} RaftInstance: reqeust append entries need to catchup, p 2 2025.05.14 01:41:24.782675 [ 12 ] {} RaftInstance: send request to 2 2025.05.14 01:41:24.782682 [ 12 ] {} RaftInstance: last_log_idx: 1, starting_idx: 1, cur_nxt_idx: 2 2025.05.14 01:41:24.782691 [ 12 ] {} RaftInstance: append_entries for 2 with LastLogIndex=1, LastLogTerm=2, EntriesLength=0, CommitIndex=1, Term=2, peer_last_sent_idx 1 2025.05.14 01:41:24.782698 [ 12 ] {} RaftInstance: EMPTY PAYLOAD 2025.05.14 01:41:24.782704 [ 12 ] {} RaftInstance: send req 1 -> 2, type append_entries_request 2025.05.14 01:41:24.782725 [ 12 ] {} RaftInstance: sent 2025.05.14 01:41:24.782759 [ 20 ] {} RaftInstance: config at index 1 is committed, prev config log idx 0 2025.05.14 01:41:24.782816 [ 20 ] {} RaftInstance: new config log idx 1, prev log idx 0, cur config log idx 0, prev log idx 0 2025.05.14 01:41:24.782855 [ 20 ] {} RaftInstance: system is reconfigured to have 3 servers, last config index: 0, this config index: 1 2025.05.14 01:41:24.782893 [ 15 ] {} RaftInstance: resp of req 1 -> 3, type append_entries_request, OK 2025.05.14 01:41:24.782900 [ 20 ] {} RaftInstance: new configuration: log idx 1, prev log idx 0 peer 1, DC ID 0, ::1:9234, voting member, 1 peer 2, DC ID 0, ::1:9235, voting member, 1 peer 3, DC ID 0, ::1:9236, voting member, 1 my id: 1, leader: 1, term: 2 2025.05.14 01:41:24.782981 [ 20 ] {} RaftInstance: (update) new target priority: 1 2025.05.14 01:41:24.783019 [ 20 ] {} RaftInstance: DONE: commit upto 1, current idx 1 2025.05.14 01:41:24.783055 [ 15 ] {} RaftInstance: Receive a append_entries_response message from peer 3 with Result=1, Term=2, NextIndex=2 2025.05.14 01:41:24.783070 [ 20 ] {} RaftInstance: commit_cv_ sleep 2025.05.14 01:41:24.783084 [ 15 ] {} RaftInstance: src: 3, dst: 1, resp->get_term(): 2 2025.05.14 01:41:24.783104 [ 15 ] {} RaftInstance: handle append entries resp (from 3), resp.get_next_idx(): 2 2025.05.14 01:41:24.783115 [ 15 ] {} RaftInstance: peer 3 batch size hint: 0 bytes 2025.05.14 01:41:24.783109 [ 1 ] {} KeeperDispatcher: Quorum initialized 2025.05.14 01:41:24.783134 [ 15 ] {} RaftInstance: peer 3, prev matched idx: 1, new matched idx: 1 2025.05.14 01:41:24.783173 [ 15 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:24.783210 [ 15 ] {} RaftInstance: quorum idx 1, 1 1 1 2025.05.14 01:41:24.783219 [ 15 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 1 2025.05.14 01:41:24.783377 [ 1 ] {} KeeperDispatcher: Dispatcher initialized 2025.05.14 01:41:24.784142 [ 1 ] {} Application: Listening for Keeper (tcp): [::]:9181 2025.05.14 01:41:24.784239 [ 1 ] {} AsynchronousMetrics: MemoryTracking: was 180.87 KiB, peak 2.17 MiB, free memory in arenas 0.00 B, will set to 118.55 MiB (RSS), difference: 118.38 MiB 2025.05.14 01:41:24.785453 [ 1 ] {} ConfigReloader: Loading config '/work/oxidecomputer/omicron/oximeter/db/src/configs/keeper_config.xml' 2025.05.14 01:41:24.786087 [ 13 ] {} RaftInstance: resp of req 1 -> 2, type append_entries_request, OK 2025.05.14 01:41:24.786131 [ 13 ] {} RaftInstance: Receive a append_entries_response message from peer 2 with Result=1, Term=2, NextIndex=2 2025.05.14 01:41:24.786144 [ 13 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 2 2025.05.14 01:41:24.786155 [ 13 ] {} RaftInstance: handle append entries resp (from 2), resp.get_next_idx(): 2 2025.05.14 01:41:24.786181 [ 13 ] {} RaftInstance: peer 2 batch size hint: 0 bytes 2025.05.14 01:41:24.786189 [ 13 ] {} RaftInstance: peer 2, prev matched idx: 1, new matched idx: 1 2025.05.14 01:41:24.786200 [ 13 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:24.786219 [ 13 ] {} RaftInstance: quorum idx 1, 1 1 1 2025.05.14 01:41:24.786227 [ 13 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 1 2025.05.14 01:41:24.786566 [ 1 ] {} ConfigReloader: Loaded config '/work/oxidecomputer/omicron/oximeter/db/src/configs/keeper_config.xml', performing update on configuration 2025.05.14 01:41:24.786674 [ 1 ] {} KeeperDispatcher: Configuration update triggered, but nothing changed for Raft 2025.05.14 01:41:24.786726 [ 1 ] {} CertificateReloader: One of paths is empty. Cannot apply new configuration for certificates. Fill all paths and try again. 2025.05.14 01:41:24.786749 [ 1 ] {} ConfigReloader: Loaded config '/work/oxidecomputer/omicron/oximeter/db/src/configs/keeper_config.xml', performed update on configuration 2025.05.14 01:41:24.787543 [ 1 ] {} Application: Ready for connections. 2025.05.14 01:41:25.000380 [ 26 ] {} AsynchronousMetrics: MemoryTracking: was 120.78 MiB, peak 127.25 MiB, free memory in arenas 0.00 B, will set to 118.79 MiB (RSS), difference: -1.99 MiB 2025.05.14 01:41:25.281262 [ 19 ] {} RaftInstance: heartbeat timeout for 3 2025.05.14 01:41:25.281342 [ 19 ] {} RaftInstance: (update) new target priority: 1 2025.05.14 01:41:25.281360 [ 19 ] {} RaftInstance: send request to 3 2025.05.14 01:41:25.281373 [ 19 ] {} RaftInstance: last_log_idx: 1, starting_idx: 1, cur_nxt_idx: 2 2025.05.14 01:41:25.281387 [ 19 ] {} RaftInstance: append_entries for 3 with LastLogIndex=1, LastLogTerm=2, EntriesLength=0, CommitIndex=1, Term=2, peer_last_sent_idx 2 2025.05.14 01:41:25.281412 [ 19 ] {} RaftInstance: EMPTY PAYLOAD 2025.05.14 01:41:25.281432 [ 19 ] {} RaftInstance: send req 1 -> 3, type append_entries_request 2025.05.14 01:41:25.281562 [ 19 ] {} RaftInstance: sent 2025.05.14 01:41:25.281675 [ 13 ] {} RaftInstance: heartbeat timeout for 2 2025.05.14 01:41:25.281733 [ 13 ] {} RaftInstance: (update) new target priority: 1 2025.05.14 01:41:25.281748 [ 13 ] {} RaftInstance: send request to 2 2025.05.14 01:41:25.281762 [ 13 ] {} RaftInstance: last_log_idx: 1, starting_idx: 1, cur_nxt_idx: 2 2025.05.14 01:41:25.281797 [ 13 ] {} RaftInstance: append_entries for 2 with LastLogIndex=1, LastLogTerm=2, EntriesLength=0, CommitIndex=1, Term=2, peer_last_sent_idx 2 2025.05.14 01:41:25.281807 [ 13 ] {} RaftInstance: EMPTY PAYLOAD 2025.05.14 01:41:25.281816 [ 13 ] {} RaftInstance: send req 1 -> 2, type append_entries_request 2025.05.14 01:41:25.281881 [ 13 ] {} RaftInstance: sent 2025.05.14 01:41:25.281948 [ 15 ] {} RaftInstance: resp of req 1 -> 3, type append_entries_request, OK 2025.05.14 01:41:25.282033 [ 15 ] {} RaftInstance: Receive a append_entries_response message from peer 3 with Result=1, Term=2, NextIndex=2 2025.05.14 01:41:25.282046 [ 15 ] {} RaftInstance: src: 3, dst: 1, resp->get_term(): 2 2025.05.14 01:41:25.282058 [ 15 ] {} RaftInstance: handle append entries resp (from 3), resp.get_next_idx(): 2 2025.05.14 01:41:25.282067 [ 15 ] {} RaftInstance: peer 3 batch size hint: 0 bytes 2025.05.14 01:41:25.282130 [ 15 ] {} RaftInstance: peer 3, prev matched idx: 1, new matched idx: 1 2025.05.14 01:41:25.282149 [ 15 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:25.282161 [ 15 ] {} RaftInstance: quorum idx 1, 1 1 1 2025.05.14 01:41:25.282169 [ 15 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 1 2025.05.14 01:41:25.282353 [ 13 ] {} RaftInstance: resp of req 1 -> 2, type append_entries_request, OK 2025.05.14 01:41:25.282405 [ 13 ] {} RaftInstance: Receive a append_entries_response message from peer 2 with Result=1, Term=2, NextIndex=2 2025.05.14 01:41:25.282416 [ 13 ] {} RaftInstance: src: 2, dst: 1, resp->get_term(): 2 2025.05.14 01:41:25.282429 [ 13 ] {} RaftInstance: handle append entries resp (from 2), resp.get_next_idx(): 2 2025.05.14 01:41:25.282439 [ 13 ] {} RaftInstance: peer 2 batch size hint: 0 bytes 2025.05.14 01:41:25.282455 [ 13 ] {} RaftInstance: peer 2, prev matched idx: 1, new matched idx: 1 2025.05.14 01:41:25.282467 [ 13 ] {} RaftInstance: last durable index 1, precommit index 1 2025.05.14 01:41:25.282478 [ 13 ] {} RaftInstance: quorum idx 1, 1 1 1 2025.05.14 01:41:25.282486 [ 13 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 1