2024.12.18 23:38:18.212676 [ 1 ] {} : Starting ClickHouse Keeper 23.8.7.1(revision : 54477, git hash: b6a391579f09dde47a1aa5602e154e7fcde80d1e, build id: ), PID 9275 2024.12.18 23:38:18.212781 [ 1 ] {} Application: starting up 2024.12.18 23:38:18.212823 [ 1 ] {} Application: OS Name = SunOS, OS Version = 5.11, OS Architecture = i86pc 2024.12.18 23:38:18.217581 [ 1 ] {} Application: Initializing DateLUT. 2024.12.18 23:38:18.217597 [ 1 ] {} Application: Initialized DateLUT with time zone 'UTC'. 2024.12.18 23:38:18.222217 [ 1 ] {} Context: Cannot connect to ZooKeeper (or Keeper) before internal Keeper start, will wait for Keeper synchronously 2024.12.18 23:38:18.222289 [ 1 ] {} KeeperDispatcher: Initializing storage dispatcher 2024.12.18 23:38:18.222843 [ 1 ] {} KeeperContext: Keeper feature flag FILTERED_LIST: enabled 2024.12.18 23:38:18.222870 [ 1 ] {} KeeperContext: Keeper feature flag MULTI_READ: enabled 2024.12.18 23:38:18.222882 [ 1 ] {} KeeperContext: Keeper feature flag CHECK_NOT_EXISTS: disabled 2024.12.18 23:38:18.223139 [ 1 ] {} KeeperSnapshotManager: Reading from disk LocalSnapshotDisk 2024.12.18 23:38:18.224744 [ 1 ] {} KeeperLogStore: Reading from disk LocalLogDisk 2024.12.18 23:38:18.224794 [ 1 ] {} KeeperLogStore: No logs exists in /var/tmp/omicron_tmp/clickward_test/keeper-1/coordination/log. It's Ok if it's the first run of clickhouse-keeper. 2024.12.18 23:38:18.224963 [ 1 ] {} KeeperLogStore: force_sync enabled 2024.12.18 23:38:18.224980 [ 1 ] {} KeeperDispatcher: Waiting server to initialize 2024.12.18 23:38:18.224994 [ 1 ] {} KeeperStateMachine: Totally have 0 snapshots 2024.12.18 23:38:18.225012 [ 1 ] {} KeeperStateMachine: No existing snapshots, last committed log index 0 2024.12.18 23:38:18.226902 [ 1 ] {} KeeperLogStore: Removing all changelogs 2024.12.18 23:38:18.226975 [ 1 ] {} Changelog: Starting new changelog changelog_1_100000.bin.zstd 2024.12.18 23:38:18.227058 [ 1 ] {} KeeperServer: Preprocessing 0 log entries 2024.12.18 23:38:18.227066 [ 1 ] {} KeeperServer: Preprocessing done 2024.12.18 23:38:18.227092 [ 1 ] {} KeeperServer: No config in log store and snapshot, probably it's initial run. Will use config from .xml on disk 2024.12.18 23:38:18.234648 [ 1 ] {} RaftInstance: Raft ASIO listener initiated on :::29101, unsecured 2024.12.18 23:38:18.237639 [ 1 ] {} KeeperStateManager: No state was read 2024.12.18 23:38:18.237674 [ 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 2024.12.18 23:38:18.237688 [ 1 ] {} RaftInstance: new election timeout range: 1000 - 2000 2024.12.18 23:38:18.237724 [ 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 2024.12.18 23:38:18.238761 [ 1 ] {} RaftInstance: asio client created: 1d886d40 2024.12.18 23:38:18.238791 [ 1 ] {} RaftInstance: asio client created: 1d8997a0 2024.12.18 23:38:18.238800 [ 1 ] {} RaftInstance: peer 1: DC ID 0, ::1:29101, voting member, 1 peer 2: DC ID 0, ::1:29102, voting member, 1 peer 3: DC ID 0, ::1:29103, voting member, 1 my id: 1, voting_member num peers: 2 2024.12.18 23:38:18.240730 [ 1 ] {} RaftInstance: global manager does not exist. will use local thread for commit and append 2024.12.18 23:38:18.240826 [ 1 ] {} RaftInstance: wait for HB, for 50 + [1000, 2000] ms 2024.12.18 23:38:18.240847 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:18.240899 [ 21 ] {} RaftInstance: bg append_entries thread initiated 2024.12.18 23:38:18.290898 [ 1 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:18.290915 [ 1 ] {} RaftInstance: server 1 started 2024.12.18 23:38:18.290937 [ 1 ] {} RaftInstance: asio rpc session created: 1d886840 2024.12.18 23:38:18.291033 [ 1 ] {} KeeperDispatcher: Server initialized, waiting for quorum 2024.12.18 23:38:19.716444 [ 12 ] {} RaftInstance: receive a incoming rpc connection 2024.12.18 23:38:19.716525 [ 12 ] {} RaftInstance: session 1 got connection from ::1:50255 (as a server) 2024.12.18 23:38:19.716633 [ 12 ] {} RaftInstance: asio rpc session created: 1d8bf980 2024.12.18 23:38:19.716741 [ 19 ] {} RaftInstance: Receive a pre_vote_request message from 2 with LastLogIndex=0, LastLogTerm 0, EntriesLength=0, CommitIndex=0 and Term=0 2024.12.18 23:38:19.716829 [ 19 ] {} RaftInstance: [PRE-VOTE REQ] my role follower, from peer 2, log term: req 0 / mine 0 last idx: req 0 / mine 0, term: req 0 / mine 0 HB dead 2024.12.18 23:38:19.716840 [ 19 ] {} RaftInstance: pre-vote decision: O (grant) 2024.12.18 23:38:19.716855 [ 19 ] {} RaftInstance: Response back a pre_vote_response message to 2 with Accepted=1, Term=0, NextIndex=1 2024.12.18 23:38:19.717294 [ 12 ] {} RaftInstance: Receive a request_vote_request message from 2 with LastLogIndex=0, LastLogTerm 0, EntriesLength=0, CommitIndex=0 and Term=1 2024.12.18 23:38:19.717440 [ 12 ] {} RaftInstance: [BECOME FOLLOWER] term 1 2024.12.18 23:38:19.717455 [ 12 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:19.717476 [ 12 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:19.717498 [ 12 ] {} RaftInstance: [PRIORITY] decay, target 1 -> 1, mine 1 2024.12.18 23:38:19.717512 [ 12 ] {} RaftInstance: [VOTE REQ] my role follower, 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 2024.12.18 23:38:19.717519 [ 12 ] {} RaftInstance: decision: O (grant), voted_for 2, term 1 2024.12.18 23:38:19.717560 [ 12 ] {} IDisk: Copying from LocalStateFileDisk (path: /var/tmp/omicron_tmp/clickward_test/keeper-1/coordination) state to LocalStateFileDisk (path: /var/tmp/omicron_tmp/clickward_test/keeper-1/coordination) state-OLD. 2024.12.18 23:38:19.717827 [ 12 ] {} RaftInstance: Response back a request_vote_response message to 2 with Accepted=1, Term=1, NextIndex=1 2024.12.18 23:38:19.725300 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=0, LastLogTerm 0, EntriesLength=1, CommitIndex=0 and Term=1 2024.12.18 23:38:19.725331 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 0 (1), req c idx: 0, my term: 1, my role: 1 2024.12.18 23:38:19.725351 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:19.725375 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 0, req log term: 0, my last log idx: 0, my log (0) term: 0 2024.12.18 23:38:19.725391 [ 18 ] {} RaftInstance: [INIT] log_idx: 1, count: 0, log_store_->next_slot(): 1, req.log_entries().size(): 1 2024.12.18 23:38:19.725401 [ 18 ] {} RaftInstance: [after SKIP] log_idx: 1, count: 0 2024.12.18 23:38:19.725411 [ 18 ] {} RaftInstance: [after OVWR] log_idx: 1, count: 0 2024.12.18 23:38:19.725418 [ 18 ] {} RaftInstance: append at 1, term 1, timestamp 0 2024.12.18 23:38:19.725684 [ 18 ] {} RaftInstance: receive a config change from leader at 1 2024.12.18 23:38:19.725708 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:19.725712 [ 18 ] {} RaftInstance: local log idx 1, target_commit_idx 0, quick_commit_index_ 0, state_->get_commit_idx() 0 2024.12.18 23:38:19.725746 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:19.725768 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:19.725772 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:19.725781 [ 1 ] {} KeeperDispatcher: Quorum initialized 2024.12.18 23:38:19.725781 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:19.725808 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=2 2024.12.18 23:38:19.725912 [ 1 ] {} KeeperDispatcher: Dispatcher initialized 2024.12.18 23:38:19.726047 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=0, LastLogTerm 0, EntriesLength=1, CommitIndex=1 and Term=1 2024.12.18 23:38:19.726067 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 0 (1), req c idx: 1, my term: 1, my role: 1 2024.12.18 23:38:19.726084 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:19.726095 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 0, req log term: 0, my last log idx: 1, my log (0) term: 0 2024.12.18 23:38:19.726104 [ 18 ] {} RaftInstance: [INIT] log_idx: 1, count: 0, log_store_->next_slot(): 2, req.log_entries().size(): 1 2024.12.18 23:38:19.726113 [ 18 ] {} RaftInstance: [after SKIP] log_idx: 2, count: 1 2024.12.18 23:38:19.726120 [ 18 ] {} RaftInstance: [after OVWR] log_idx: 2, count: 1 2024.12.18 23:38:19.726136 [ 18 ] {} RaftInstance: trigger commit upto 1 2024.12.18 23:38:19.726144 [ 18 ] {} RaftInstance: local log idx 1, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 0 2024.12.18 23:38:19.726151 [ 18 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:19.726162 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:19.726178 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:19.726180 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:19.726200 [ 20 ] {} RaftInstance: commit upto 1, current idx 0 2024.12.18 23:38:19.726214 [ 20 ] {} RaftInstance: commit upto 1, current idx 1 2024.12.18 23:38:19.726184 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:19.726252 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:19.726262 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=2 2024.12.18 23:38:19.726302 [ 20 ] {} RaftInstance: config at index 1 is committed, prev config log idx 0 2024.12.18 23:38:19.726328 [ 1 ] {} Application: Listening for Keeper (tcp): [::1]:29001 2024.12.18 23:38:19.726337 [ 20 ] {} RaftInstance: new config log idx 1, prev log idx 0, cur config log idx 0, prev log idx 0 2024.12.18 23:38:19.726349 [ 20 ] {} RaftInstance: system is reconfigured to have 3 servers, last config index: 0, this config index: 1 2024.12.18 23:38:19.726390 [ 20 ] {} RaftInstance: new configuration: log idx 1, prev log idx 0 peer 1, DC ID 0, ::1:29101, voting member, 1 peer 2, DC ID 0, ::1:29102, voting member, 1 peer 3, DC ID 0, ::1:29103, voting member, 1 my id: 1, leader: 2, term: 1 2024.12.18 23:38:19.726391 [ 1 ] {} AsynchronousMetrics: MemoryTracking: was 140.45 KiB, peak 2.13 MiB, free memory in arenas 0.00 B, will set to 115.43 MiB (RSS), difference: 115.29 MiB 2024.12.18 23:38:19.726402 [ 20 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:19.726428 [ 20 ] {} RaftInstance: DONE: commit upto 1, current idx 1 2024.12.18 23:38:19.726436 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:19.727240 [ 1 ] {} ConfigReloader: Loading config '/var/tmp/omicron_tmp/clickward_test/keeper-1/keeper-config.xml' 2024.12.18 23:38:19.727688 [ 1 ] {} ConfigReloader: Loaded config '/var/tmp/omicron_tmp/clickward_test/keeper-1/keeper-config.xml', performing update on configuration 2024.12.18 23:38:19.727803 [ 1 ] {} KeeperDispatcher: Configuration update triggered, but nothing changed for Raft 2024.12.18 23:38:19.727827 [ 1 ] {} CertificateReloader: One of paths is empty. Cannot apply new configuration for certificates. Fill all paths and try again. 2024.12.18 23:38:19.727834 [ 1 ] {} ConfigReloader: Loaded config '/var/tmp/omicron_tmp/clickward_test/keeper-1/keeper-config.xml', performed update on configuration 2024.12.18 23:38:19.728336 [ 1 ] {} Application: Ready for connections. 2024.12.18 23:38:20.000102 [ 25 ] {} AsynchronousMetrics: MemoryTracking: was 117.65 MiB, peak 124.12 MiB, free memory in arenas 0.00 B, will set to 115.66 MiB (RSS), difference: -1.99 MiB 2024.12.18 23:38:20.205437 [ 3 ] {} KeeperTCPHandlerFactory: Keeper request. Address: [::1]:40777 2024.12.18 23:38:20.205609 [ 3 ] {} KeeperTCPHandler: Requesting session ID for the new client 2024.12.18 23:38:20.205738 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 0 2024.12.18 23:38:20.205835 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 not found, created 1d8e3880 2024.12.18 23:38:20.205844 [ 6 ] {} RaftInstance: no connection available, idle 0, in-use 0, max 10 2024.12.18 23:38:20.205873 [ 6 ] {} RaftInstance: asio client created: 1d8e39c0 2024.12.18 23:38:20.205879 [ 6 ] {} RaftInstance: created a new connection 1d8e39c0 2024.12.18 23:38:20.205894 [ 6 ] {} RaftInstance: socket 1d8e39c0 to ::1:29102 is not opened yet 2024.12.18 23:38:20.206397 [ 19 ] {} RaftInstance: 1d8e39c0 connected to ::1:29102 (as a client) 2024.12.18 23:38:20.206970 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=1, LastLogTerm 1, EntriesLength=1, CommitIndex=1 and Term=1 2024.12.18 23:38:20.206994 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 1 (1), req c idx: 1, my term: 1, my role: 1 2024.12.18 23:38:20.207013 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.207023 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 1, req log term: 1, my last log idx: 1, my log (1) term: 1 2024.12.18 23:38:20.207029 [ 18 ] {} RaftInstance: [INIT] log_idx: 2, count: 0, log_store_->next_slot(): 2, req.log_entries().size(): 1 2024.12.18 23:38:20.207035 [ 18 ] {} RaftInstance: [after SKIP] log_idx: 2, count: 0 2024.12.18 23:38:20.207045 [ 18 ] {} RaftInstance: [after OVWR] log_idx: 2, count: 0 2024.12.18 23:38:20.207082 [ 18 ] {} RaftInstance: append at 2, term 1, timestamp 0 2024.12.18 23:38:20.207108 [ 18 ] {} RaftInstance: durable index 1, sleep and wait for log appending completion 2024.12.18 23:38:20.207116 [ 18 ] {} RaftInstance: wake up, durable index 1 2024.12.18 23:38:20.207123 [ 18 ] {} RaftInstance: durable index 1, sleep and wait for log appending completion 2024.12.18 23:38:20.207173 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.207210 [ 18 ] {} RaftInstance: wake up, durable index 2 2024.12.18 23:38:20.207225 [ 18 ] {} RaftInstance: local log idx 2, target_commit_idx 1, quick_commit_index_ 1, state_->get_commit_idx() 1 2024.12.18 23:38:20.207234 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.207250 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.207276 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.207284 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=3 2024.12.18 23:38:20.207544 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=1, LastLogTerm 1, EntriesLength=1, CommitIndex=2 and Term=1 2024.12.18 23:38:20.207561 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 1 (1), req c idx: 2, my term: 1, my role: 1 2024.12.18 23:38:20.207578 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.207590 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 1, req log term: 1, my last log idx: 2, my log (1) term: 1 2024.12.18 23:38:20.207600 [ 19 ] {} RaftInstance: [INIT] log_idx: 2, count: 0, log_store_->next_slot(): 3, req.log_entries().size(): 1 2024.12.18 23:38:20.207610 [ 19 ] {} RaftInstance: [after SKIP] log_idx: 3, count: 1 2024.12.18 23:38:20.207625 [ 19 ] {} RaftInstance: [after OVWR] log_idx: 3, count: 1 2024.12.18 23:38:20.207648 [ 19 ] {} RaftInstance: trigger commit upto 2 2024.12.18 23:38:20.207659 [ 19 ] {} RaftInstance: local log idx 2, target_commit_idx 2, quick_commit_index_ 2, state_->get_commit_idx() 1 2024.12.18 23:38:20.207669 [ 19 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:20.207670 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.207695 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.207709 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.207709 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:20.207722 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.207730 [ 20 ] {} RaftInstance: commit upto 2, current idx 1 2024.12.18 23:38:20.207734 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=3 2024.12.18 23:38:20.207740 [ 20 ] {} RaftInstance: commit upto 2, current idx 2 2024.12.18 23:38:20.207746 [ 18 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:20.207787 [ 20 ] {} KeeperStateMachine: Session ID response 1 with timeout 10000 2024.12.18 23:38:20.207810 [ 20 ] {} RaftInstance: DONE: commit upto 2, current idx 2 2024.12.18 23:38:20.207823 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:20.207946 [ 3 ] {} KeeperTCPHandler: Received session ID 1 2024.12.18 23:38:20.209812 [ 3 ] {} KeeperTCPHandler: Received close event with xid 2147483647 for session id #1 2024.12.18 23:38:20.209829 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 0 2024.12.18 23:38:20.209855 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:20.209884 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:20.210332 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=2, LastLogTerm 1, EntriesLength=1, CommitIndex=2 and Term=1 2024.12.18 23:38:20.210349 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 2 (1), req c idx: 2, my term: 1, my role: 1 2024.12.18 23:38:20.210355 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.210367 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 2, req log term: 1, my last log idx: 2, my log (2) term: 1 2024.12.18 23:38:20.210372 [ 15 ] {} RaftInstance: [INIT] log_idx: 3, count: 0, log_store_->next_slot(): 3, req.log_entries().size(): 1 2024.12.18 23:38:20.210377 [ 15 ] {} RaftInstance: [after SKIP] log_idx: 3, count: 0 2024.12.18 23:38:20.210382 [ 15 ] {} RaftInstance: [after OVWR] log_idx: 3, count: 0 2024.12.18 23:38:20.210388 [ 15 ] {} RaftInstance: append at 3, term 1, timestamp 0 2024.12.18 23:38:20.210413 [ 15 ] {} RaftInstance: durable index 2, sleep and wait for log appending completion 2024.12.18 23:38:20.210419 [ 15 ] {} RaftInstance: wake up, durable index 2 2024.12.18 23:38:20.210424 [ 15 ] {} RaftInstance: durable index 2, sleep and wait for log appending completion 2024.12.18 23:38:20.210463 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.210505 [ 15 ] {} RaftInstance: wake up, durable index 3 2024.12.18 23:38:20.210524 [ 15 ] {} RaftInstance: local log idx 3, target_commit_idx 2, quick_commit_index_ 2, state_->get_commit_idx() 2 2024.12.18 23:38:20.210533 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.210552 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.210571 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.210580 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=4 2024.12.18 23:38:20.210865 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=2, LastLogTerm 1, EntriesLength=1, CommitIndex=3 and Term=1 2024.12.18 23:38:20.210882 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 2 (1), req c idx: 3, my term: 1, my role: 1 2024.12.18 23:38:20.210892 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.210908 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 2, req log term: 1, my last log idx: 3, my log (2) term: 1 2024.12.18 23:38:20.210919 [ 14 ] {} RaftInstance: [INIT] log_idx: 3, count: 0, log_store_->next_slot(): 4, req.log_entries().size(): 1 2024.12.18 23:38:20.210930 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 4, count: 1 2024.12.18 23:38:20.210940 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 4, count: 1 2024.12.18 23:38:20.210952 [ 14 ] {} RaftInstance: trigger commit upto 3 2024.12.18 23:38:20.210954 [ 19 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:20.210966 [ 14 ] {} RaftInstance: local log idx 3, target_commit_idx 3, quick_commit_index_ 3, state_->get_commit_idx() 2 2024.12.18 23:38:20.210977 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.210980 [ 14 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:20.211009 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.211026 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:20.211031 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.211039 [ 20 ] {} RaftInstance: commit upto 3, current idx 2 2024.12.18 23:38:20.211052 [ 20 ] {} RaftInstance: commit upto 3, current idx 3 2024.12.18 23:38:20.211067 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.211076 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=4 2024.12.18 23:38:20.211084 [ 20 ] {} RaftInstance: DONE: commit upto 3, current idx 3 2024.12.18 23:38:20.211097 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:20.211097 [ 3 ] {} KeeperTCPHandler: Session #1 successfully closed 2024.12.18 23:38:20.218535 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=3, LastLogTerm 1, EntriesLength=0, CommitIndex=3 and Term=1 2024.12.18 23:38:20.218566 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 3 (0), req c idx: 3, my term: 1, my role: 1 2024.12.18 23:38:20.218578 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.218589 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 3, req log term: 1, my last log idx: 3, my log (3) term: 1 2024.12.18 23:38:20.218599 [ 15 ] {} RaftInstance: local log idx 3, target_commit_idx 3, quick_commit_index_ 3, state_->get_commit_idx() 3 2024.12.18 23:38:20.218612 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.218634 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.218659 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.218671 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=4 2024.12.18 23:38:20.275426 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=3, LastLogTerm 1, EntriesLength=1, CommitIndex=3 and Term=1 2024.12.18 23:38:20.275464 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 3 (1), req c idx: 3, my term: 1, my role: 1 2024.12.18 23:38:20.275474 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.275487 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 3, req log term: 1, my last log idx: 3, my log (3) term: 1 2024.12.18 23:38:20.275499 [ 14 ] {} RaftInstance: [INIT] log_idx: 4, count: 0, log_store_->next_slot(): 4, req.log_entries().size(): 1 2024.12.18 23:38:20.275506 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 4, count: 0 2024.12.18 23:38:20.275512 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 4, count: 0 2024.12.18 23:38:20.275521 [ 14 ] {} RaftInstance: append at 4, term 1, timestamp 0 2024.12.18 23:38:20.275543 [ 14 ] {} RaftInstance: durable index 3, sleep and wait for log appending completion 2024.12.18 23:38:20.275553 [ 14 ] {} RaftInstance: wake up, durable index 3 2024.12.18 23:38:20.275559 [ 14 ] {} RaftInstance: durable index 3, sleep and wait for log appending completion 2024.12.18 23:38:20.275610 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.275638 [ 14 ] {} RaftInstance: wake up, durable index 4 2024.12.18 23:38:20.275650 [ 14 ] {} RaftInstance: local log idx 4, target_commit_idx 3, quick_commit_index_ 3, state_->get_commit_idx() 3 2024.12.18 23:38:20.275662 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.275682 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.275707 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.275719 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=5 2024.12.18 23:38:20.275990 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=3, LastLogTerm 1, EntriesLength=1, CommitIndex=4 and Term=1 2024.12.18 23:38:20.276017 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 3 (1), req c idx: 4, my term: 1, my role: 1 2024.12.18 23:38:20.276028 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.276036 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 3, req log term: 1, my last log idx: 4, my log (3) term: 1 2024.12.18 23:38:20.276046 [ 14 ] {} RaftInstance: [INIT] log_idx: 4, count: 0, log_store_->next_slot(): 5, req.log_entries().size(): 1 2024.12.18 23:38:20.276055 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 5, count: 1 2024.12.18 23:38:20.276066 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 5, count: 1 2024.12.18 23:38:20.276090 [ 14 ] {} RaftInstance: trigger commit upto 4 2024.12.18 23:38:20.276098 [ 14 ] {} RaftInstance: local log idx 4, target_commit_idx 4, quick_commit_index_ 4, state_->get_commit_idx() 3 2024.12.18 23:38:20.276111 [ 14 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:20.276125 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.276131 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.276141 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.276138 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:20.276160 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.276171 [ 20 ] {} RaftInstance: commit upto 4, current idx 3 2024.12.18 23:38:20.276180 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=5 2024.12.18 23:38:20.276182 [ 20 ] {} RaftInstance: commit upto 4, current idx 4 2024.12.18 23:38:20.276199 [ 20 ] {} KeeperStateMachine: Session ID response 2 with timeout 10000 2024.12.18 23:38:20.276216 [ 20 ] {} RaftInstance: DONE: commit upto 4, current idx 4 2024.12.18 23:38:20.276222 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:20.278254 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=4, LastLogTerm 1, EntriesLength=1, CommitIndex=4 and Term=1 2024.12.18 23:38:20.278276 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 4 (1), req c idx: 4, my term: 1, my role: 1 2024.12.18 23:38:20.278294 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.278303 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 4, req log term: 1, my last log idx: 4, my log (4) term: 1 2024.12.18 23:38:20.278309 [ 15 ] {} RaftInstance: [INIT] log_idx: 5, count: 0, log_store_->next_slot(): 5, req.log_entries().size(): 1 2024.12.18 23:38:20.278316 [ 15 ] {} RaftInstance: [after SKIP] log_idx: 5, count: 0 2024.12.18 23:38:20.278322 [ 15 ] {} RaftInstance: [after OVWR] log_idx: 5, count: 0 2024.12.18 23:38:20.278333 [ 15 ] {} RaftInstance: append at 5, term 1, timestamp 0 2024.12.18 23:38:20.278364 [ 15 ] {} RaftInstance: durable index 4, sleep and wait for log appending completion 2024.12.18 23:38:20.278376 [ 15 ] {} RaftInstance: wake up, durable index 4 2024.12.18 23:38:20.278382 [ 15 ] {} RaftInstance: durable index 4, sleep and wait for log appending completion 2024.12.18 23:38:20.278416 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.278469 [ 15 ] {} RaftInstance: wake up, durable index 5 2024.12.18 23:38:20.278481 [ 15 ] {} RaftInstance: local log idx 5, target_commit_idx 4, quick_commit_index_ 4, state_->get_commit_idx() 4 2024.12.18 23:38:20.278487 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.278502 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.278516 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.278530 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=6 2024.12.18 23:38:20.278716 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=4, LastLogTerm 1, EntriesLength=1, CommitIndex=5 and Term=1 2024.12.18 23:38:20.278738 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 4 (1), req c idx: 5, my term: 1, my role: 1 2024.12.18 23:38:20.278754 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.278763 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 4, req log term: 1, my last log idx: 5, my log (4) term: 1 2024.12.18 23:38:20.278771 [ 18 ] {} RaftInstance: [INIT] log_idx: 5, count: 0, log_store_->next_slot(): 6, req.log_entries().size(): 1 2024.12.18 23:38:20.278779 [ 18 ] {} RaftInstance: [after SKIP] log_idx: 6, count: 1 2024.12.18 23:38:20.278785 [ 18 ] {} RaftInstance: [after OVWR] log_idx: 6, count: 1 2024.12.18 23:38:20.278799 [ 18 ] {} RaftInstance: trigger commit upto 5 2024.12.18 23:38:20.278806 [ 18 ] {} RaftInstance: local log idx 5, target_commit_idx 5, quick_commit_index_ 5, state_->get_commit_idx() 4 2024.12.18 23:38:20.278814 [ 18 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:20.278822 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.278824 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.278837 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:20.278854 [ 20 ] {} RaftInstance: commit upto 5, current idx 4 2024.12.18 23:38:20.278857 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.278863 [ 20 ] {} RaftInstance: commit upto 5, current idx 5 2024.12.18 23:38:20.278879 [ 20 ] {} RaftInstance: DONE: commit upto 5, current idx 5 2024.12.18 23:38:20.278880 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.278889 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:20.278902 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=6 2024.12.18 23:38:20.332534 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=5, LastLogTerm 1, EntriesLength=1, CommitIndex=5 and Term=1 2024.12.18 23:38:20.332558 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 5 (1), req c idx: 5, my term: 1, my role: 1 2024.12.18 23:38:20.332578 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.332586 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 5, req log term: 1, my last log idx: 5, my log (5) term: 1 2024.12.18 23:38:20.332591 [ 19 ] {} RaftInstance: [INIT] log_idx: 6, count: 0, log_store_->next_slot(): 6, req.log_entries().size(): 1 2024.12.18 23:38:20.332597 [ 19 ] {} RaftInstance: [after SKIP] log_idx: 6, count: 0 2024.12.18 23:38:20.332605 [ 19 ] {} RaftInstance: [after OVWR] log_idx: 6, count: 0 2024.12.18 23:38:20.332614 [ 19 ] {} RaftInstance: append at 6, term 1, timestamp 0 2024.12.18 23:38:20.332649 [ 19 ] {} RaftInstance: durable index 5, sleep and wait for log appending completion 2024.12.18 23:38:20.332657 [ 19 ] {} RaftInstance: wake up, durable index 5 2024.12.18 23:38:20.332662 [ 19 ] {} RaftInstance: durable index 5, sleep and wait for log appending completion 2024.12.18 23:38:20.332718 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.332754 [ 19 ] {} RaftInstance: wake up, durable index 6 2024.12.18 23:38:20.332760 [ 19 ] {} RaftInstance: local log idx 6, target_commit_idx 5, quick_commit_index_ 5, state_->get_commit_idx() 5 2024.12.18 23:38:20.332767 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.332780 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.332803 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.332813 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=7 2024.12.18 23:38:20.333055 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=5, LastLogTerm 1, EntriesLength=1, CommitIndex=6 and Term=1 2024.12.18 23:38:20.333069 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 5 (1), req c idx: 6, my term: 1, my role: 1 2024.12.18 23:38:20.333082 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.333089 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 5, req log term: 1, my last log idx: 6, my log (5) term: 1 2024.12.18 23:38:20.333095 [ 19 ] {} RaftInstance: [INIT] log_idx: 6, count: 0, log_store_->next_slot(): 7, req.log_entries().size(): 1 2024.12.18 23:38:20.333100 [ 19 ] {} RaftInstance: [after SKIP] log_idx: 7, count: 1 2024.12.18 23:38:20.333108 [ 19 ] {} RaftInstance: [after OVWR] log_idx: 7, count: 1 2024.12.18 23:38:20.333124 [ 19 ] {} RaftInstance: trigger commit upto 6 2024.12.18 23:38:20.333133 [ 19 ] {} RaftInstance: local log idx 6, target_commit_idx 6, quick_commit_index_ 6, state_->get_commit_idx() 5 2024.12.18 23:38:20.333142 [ 19 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:20.333154 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.333158 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.333168 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:20.333181 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.333192 [ 20 ] {} RaftInstance: commit upto 6, current idx 5 2024.12.18 23:38:20.333204 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.333208 [ 20 ] {} RaftInstance: commit upto 6, current idx 6 2024.12.18 23:38:20.333216 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=7 2024.12.18 23:38:20.333236 [ 20 ] {} KeeperStateMachine: Session ID response 3 with timeout 10000 2024.12.18 23:38:20.333250 [ 20 ] {} RaftInstance: DONE: commit upto 6, current idx 6 2024.12.18 23:38:20.333258 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:20.335367 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=6, LastLogTerm 1, EntriesLength=1, CommitIndex=6 and Term=1 2024.12.18 23:38:20.335395 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 6 (1), req c idx: 6, my term: 1, my role: 1 2024.12.18 23:38:20.335404 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.335412 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 6, req log term: 1, my last log idx: 6, my log (6) term: 1 2024.12.18 23:38:20.335424 [ 18 ] {} RaftInstance: [INIT] log_idx: 7, count: 0, log_store_->next_slot(): 7, req.log_entries().size(): 1 2024.12.18 23:38:20.335431 [ 18 ] {} RaftInstance: [after SKIP] log_idx: 7, count: 0 2024.12.18 23:38:20.335438 [ 18 ] {} RaftInstance: [after OVWR] log_idx: 7, count: 0 2024.12.18 23:38:20.335447 [ 18 ] {} RaftInstance: append at 7, term 1, timestamp 0 2024.12.18 23:38:20.335470 [ 18 ] {} RaftInstance: durable index 6, sleep and wait for log appending completion 2024.12.18 23:38:20.335483 [ 18 ] {} RaftInstance: wake up, durable index 6 2024.12.18 23:38:20.335490 [ 18 ] {} RaftInstance: durable index 6, sleep and wait for log appending completion 2024.12.18 23:38:20.335513 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.335552 [ 18 ] {} RaftInstance: wake up, durable index 7 2024.12.18 23:38:20.335567 [ 18 ] {} RaftInstance: local log idx 7, target_commit_idx 6, quick_commit_index_ 6, state_->get_commit_idx() 6 2024.12.18 23:38:20.335581 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.335595 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.335615 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.335620 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:20.335844 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=6, LastLogTerm 1, EntriesLength=1, CommitIndex=7 and Term=1 2024.12.18 23:38:20.335870 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 6 (1), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:20.335880 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.335890 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 6, req log term: 1, my last log idx: 7, my log (6) term: 1 2024.12.18 23:38:20.335902 [ 16 ] {} RaftInstance: [INIT] log_idx: 7, count: 0, log_store_->next_slot(): 8, req.log_entries().size(): 1 2024.12.18 23:38:20.335911 [ 16 ] {} RaftInstance: [after SKIP] log_idx: 8, count: 1 2024.12.18 23:38:20.335920 [ 16 ] {} RaftInstance: [after OVWR] log_idx: 8, count: 1 2024.12.18 23:38:20.335931 [ 16 ] {} RaftInstance: trigger commit upto 7 2024.12.18 23:38:20.335939 [ 16 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 6 2024.12.18 23:38:20.335950 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:20.335952 [ 16 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:20.335982 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.335993 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.335996 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:20.336013 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.336029 [ 20 ] {} RaftInstance: commit upto 7, current idx 6 2024.12.18 23:38:20.336041 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:20.336047 [ 20 ] {} RaftInstance: commit upto 7, current idx 7 2024.12.18 23:38:20.336074 [ 20 ] {} RaftInstance: DONE: commit upto 7, current idx 7 2024.12.18 23:38:20.336083 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:20.719806 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=0, CommitIndex=7 and Term=1 2024.12.18 23:38:20.719865 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (0), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:20.719892 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:20.719917 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:20.719951 [ 14 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:20.719965 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:20.720012 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:20.720059 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:20.720075 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:21.220914 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=0, CommitIndex=7 and Term=1 2024.12.18 23:38:21.220951 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (0), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:21.220961 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:21.220984 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:21.220993 [ 19 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:21.221000 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:21.221031 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:21.221067 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:21.221077 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:21.721639 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=0, CommitIndex=7 and Term=1 2024.12.18 23:38:21.721658 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (0), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:21.721674 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:21.721681 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:21.721687 [ 14 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:21.721693 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:21.721710 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:21.721724 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:21.721730 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:22.222520 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=0, CommitIndex=7 and Term=1 2024.12.18 23:38:22.222557 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (0), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:22.222566 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:22.222575 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:22.222582 [ 14 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:22.222593 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:22.222614 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:22.222632 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:22.222639 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:22.723531 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=0, CommitIndex=7 and Term=1 2024.12.18 23:38:22.723622 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (0), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:22.723643 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:22.723660 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:22.723675 [ 19 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:22.723699 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:22.723738 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:22.723776 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:22.723793 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:23.224742 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=0, CommitIndex=7 and Term=1 2024.12.18 23:38:23.224799 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (0), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:23.224821 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.224838 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:23.224868 [ 14 ] {} RaftInstance: local log idx 7, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:23.224878 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.224899 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.224919 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.224931 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=8 2024.12.18 23:38:23.604775 [ 3 ] {} KeeperTCPHandlerFactory: Keeper request. Address: [::1]:50073 2024.12.18 23:38:23.604934 [ 3 ] {} KeeperTCPHandler: Requesting session ID for the new client 2024.12.18 23:38:23.604992 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 0 2024.12.18 23:38:23.605020 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:23.605041 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:23.605512 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=2, CommitIndex=7 and Term=1 2024.12.18 23:38:23.605525 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (2), req c idx: 7, my term: 1, my role: 1 2024.12.18 23:38:23.605531 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.605548 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 7, my log (7) term: 1 2024.12.18 23:38:23.605556 [ 14 ] {} RaftInstance: [INIT] log_idx: 8, count: 0, log_store_->next_slot(): 8, req.log_entries().size(): 2 2024.12.18 23:38:23.605565 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 8, count: 0 2024.12.18 23:38:23.605572 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 8, count: 0 2024.12.18 23:38:23.605581 [ 14 ] {} RaftInstance: append at 8, term 1, timestamp 0 2024.12.18 23:38:23.605613 [ 14 ] {} RaftInstance: append at 9, term 1, timestamp 0 2024.12.18 23:38:23.605624 [ 14 ] {} RaftInstance: durable index 7, sleep and wait for log appending completion 2024.12.18 23:38:23.605632 [ 14 ] {} RaftInstance: wake up, durable index 7 2024.12.18 23:38:23.605639 [ 14 ] {} RaftInstance: durable index 7, sleep and wait for log appending completion 2024.12.18 23:38:23.605689 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.605732 [ 14 ] {} RaftInstance: wake up, durable index 9 2024.12.18 23:38:23.605745 [ 14 ] {} RaftInstance: local log idx 9, target_commit_idx 7, quick_commit_index_ 7, state_->get_commit_idx() 7 2024.12.18 23:38:23.605751 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.605765 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.605780 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.605796 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=10 2024.12.18 23:38:23.605989 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=7, LastLogTerm 1, EntriesLength=2, CommitIndex=9 and Term=1 2024.12.18 23:38:23.606006 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 7 (2), req c idx: 9, my term: 1, my role: 1 2024.12.18 23:38:23.606023 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.606032 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 7, req log term: 1, my last log idx: 9, my log (7) term: 1 2024.12.18 23:38:23.606041 [ 14 ] {} RaftInstance: [INIT] log_idx: 8, count: 0, log_store_->next_slot(): 10, req.log_entries().size(): 2 2024.12.18 23:38:23.606049 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 10, count: 2 2024.12.18 23:38:23.606056 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 10, count: 2 2024.12.18 23:38:23.606072 [ 14 ] {} RaftInstance: trigger commit upto 9 2024.12.18 23:38:23.606080 [ 14 ] {} RaftInstance: local log idx 9, target_commit_idx 9, quick_commit_index_ 9, state_->get_commit_idx() 7 2024.12.18 23:38:23.606089 [ 14 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.606100 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.606108 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.606122 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.606157 [ 20 ] {} RaftInstance: commit upto 9, current idx 7 2024.12.18 23:38:23.606110 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.606167 [ 20 ] {} RaftInstance: commit upto 9, current idx 8 2024.12.18 23:38:23.606187 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.606191 [ 20 ] {} KeeperStateMachine: Session ID response 4 with timeout 30000 2024.12.18 23:38:23.606198 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=10 2024.12.18 23:38:23.606220 [ 20 ] {} RaftInstance: commit upto 9, current idx 9 2024.12.18 23:38:23.606230 [ 20 ] {} KeeperStateMachine: Session ID response 5 with timeout 30000 2024.12.18 23:38:23.606252 [ 20 ] {} RaftInstance: DONE: commit upto 9, current idx 9 2024.12.18 23:38:23.606265 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.606272 [ 14 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:23.606291 [ 3 ] {} KeeperTCPHandler: Received session ID 5 2024.12.18 23:38:23.607113 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 105 2024.12.18 23:38:23.607137 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:23.607154 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:23.607469 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=9, LastLogTerm 1, EntriesLength=2, CommitIndex=9 and Term=1 2024.12.18 23:38:23.607488 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 9 (2), req c idx: 9, my term: 1, my role: 1 2024.12.18 23:38:23.607499 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.607521 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 9, req log term: 1, my last log idx: 9, my log (9) term: 1 2024.12.18 23:38:23.607532 [ 13 ] {} RaftInstance: [INIT] log_idx: 10, count: 0, log_store_->next_slot(): 10, req.log_entries().size(): 2 2024.12.18 23:38:23.607538 [ 13 ] {} RaftInstance: [after SKIP] log_idx: 10, count: 0 2024.12.18 23:38:23.607544 [ 13 ] {} RaftInstance: [after OVWR] log_idx: 10, count: 0 2024.12.18 23:38:23.607552 [ 13 ] {} RaftInstance: append at 10, term 1, timestamp 0 2024.12.18 23:38:23.607595 [ 13 ] {} RaftInstance: append at 11, term 1, timestamp 0 2024.12.18 23:38:23.607615 [ 13 ] {} RaftInstance: durable index 9, sleep and wait for log appending completion 2024.12.18 23:38:23.607624 [ 13 ] {} RaftInstance: wake up, durable index 9 2024.12.18 23:38:23.607630 [ 13 ] {} RaftInstance: durable index 9, sleep and wait for log appending completion 2024.12.18 23:38:23.607650 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.607685 [ 13 ] {} RaftInstance: wake up, durable index 11 2024.12.18 23:38:23.607695 [ 13 ] {} RaftInstance: local log idx 11, target_commit_idx 9, quick_commit_index_ 9, state_->get_commit_idx() 9 2024.12.18 23:38:23.607703 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.607720 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.607734 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.607745 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=12 2024.12.18 23:38:23.608042 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=9, LastLogTerm 1, EntriesLength=2, CommitIndex=10 and Term=1 2024.12.18 23:38:23.608058 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 9 (2), req c idx: 10, my term: 1, my role: 1 2024.12.18 23:38:23.608077 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.608087 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 9, req log term: 1, my last log idx: 11, my log (9) term: 1 2024.12.18 23:38:23.608095 [ 15 ] {} RaftInstance: [INIT] log_idx: 10, count: 0, log_store_->next_slot(): 12, req.log_entries().size(): 2 2024.12.18 23:38:23.608101 [ 15 ] {} RaftInstance: [after SKIP] log_idx: 12, count: 2 2024.12.18 23:38:23.608106 [ 15 ] {} RaftInstance: [after OVWR] log_idx: 12, count: 2 2024.12.18 23:38:23.608125 [ 15 ] {} RaftInstance: trigger commit upto 10 2024.12.18 23:38:23.608135 [ 15 ] {} RaftInstance: local log idx 11, target_commit_idx 10, quick_commit_index_ 10, state_->get_commit_idx() 9 2024.12.18 23:38:23.608143 [ 15 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.608156 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.608194 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.608214 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.608225 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.608233 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=12 2024.12.18 23:38:23.608245 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.608251 [ 13 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:23.608257 [ 20 ] {} RaftInstance: commit upto 10, current idx 9 2024.12.18 23:38:23.608280 [ 20 ] {} RaftInstance: commit upto 10, current idx 10 2024.12.18 23:38:23.608316 [ 20 ] {} RaftInstance: DONE: commit upto 10, current idx 10 2024.12.18 23:38:23.608324 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.608650 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=11, LastLogTerm 1, EntriesLength=1, CommitIndex=11 and Term=1 2024.12.18 23:38:23.608676 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 11 (1), req c idx: 11, my term: 1, my role: 1 2024.12.18 23:38:23.608683 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.608689 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 11, req log term: 1, my last log idx: 11, my log (11) term: 1 2024.12.18 23:38:23.608695 [ 15 ] {} RaftInstance: [INIT] log_idx: 12, count: 0, log_store_->next_slot(): 12, req.log_entries().size(): 1 2024.12.18 23:38:23.608703 [ 15 ] {} RaftInstance: [after SKIP] log_idx: 12, count: 0 2024.12.18 23:38:23.608708 [ 15 ] {} RaftInstance: [after OVWR] log_idx: 12, count: 0 2024.12.18 23:38:23.608714 [ 15 ] {} RaftInstance: append at 12, term 1, timestamp 0 2024.12.18 23:38:23.608734 [ 15 ] {} RaftInstance: durable index 11, sleep and wait for log appending completion 2024.12.18 23:38:23.608740 [ 15 ] {} RaftInstance: wake up, durable index 11 2024.12.18 23:38:23.608749 [ 15 ] {} RaftInstance: durable index 11, sleep and wait for log appending completion 2024.12.18 23:38:23.608781 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.608803 [ 15 ] {} RaftInstance: wake up, durable index 12 2024.12.18 23:38:23.608809 [ 15 ] {} RaftInstance: trigger commit upto 11 2024.12.18 23:38:23.608814 [ 15 ] {} RaftInstance: local log idx 12, target_commit_idx 11, quick_commit_index_ 11, state_->get_commit_idx() 10 2024.12.18 23:38:23.608826 [ 15 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.608840 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.608854 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.608854 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.608873 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.608874 [ 20 ] {} RaftInstance: commit upto 11, current idx 10 2024.12.18 23:38:23.608889 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=13 2024.12.18 23:38:23.608893 [ 20 ] {} RaftInstance: commit upto 11, current idx 11 2024.12.18 23:38:23.608923 [ 20 ] {} RaftInstance: DONE: commit upto 11, current idx 11 2024.12.18 23:38:23.608931 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.609115 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 101 2024.12.18 23:38:23.609131 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=12, LastLogTerm 1, EntriesLength=0, CommitIndex=12 and Term=1 2024.12.18 23:38:23.609136 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:23.609145 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 12 (0), req c idx: 12, my term: 1, my role: 1 2024.12.18 23:38:23.609149 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:23.609164 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.609172 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 12, req log term: 1, my last log idx: 12, my log (12) term: 1 2024.12.18 23:38:23.609181 [ 19 ] {} RaftInstance: trigger commit upto 12 2024.12.18 23:38:23.609190 [ 19 ] {} RaftInstance: local log idx 12, target_commit_idx 12, quick_commit_index_ 12, state_->get_commit_idx() 11 2024.12.18 23:38:23.609204 [ 19 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.609223 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.609228 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.609240 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.609245 [ 20 ] {} RaftInstance: commit upto 12, current idx 11 2024.12.18 23:38:23.609255 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.609264 [ 20 ] {} RaftInstance: commit upto 12, current idx 12 2024.12.18 23:38:23.609269 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=13 2024.12.18 23:38:23.609300 [ 20 ] {} RaftInstance: DONE: commit upto 12, current idx 12 2024.12.18 23:38:23.609309 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.609717 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=12, LastLogTerm 1, EntriesLength=1, CommitIndex=12 and Term=1 2024.12.18 23:38:23.609743 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 12 (1), req c idx: 12, my term: 1, my role: 1 2024.12.18 23:38:23.609753 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.609762 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 12, req log term: 1, my last log idx: 12, my log (12) term: 1 2024.12.18 23:38:23.609773 [ 14 ] {} RaftInstance: [INIT] log_idx: 13, count: 0, log_store_->next_slot(): 13, req.log_entries().size(): 1 2024.12.18 23:38:23.609779 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 13, count: 0 2024.12.18 23:38:23.609784 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 13, count: 0 2024.12.18 23:38:23.609791 [ 14 ] {} RaftInstance: append at 13, term 1, timestamp 0 2024.12.18 23:38:23.609814 [ 14 ] {} RaftInstance: durable index 12, sleep and wait for log appending completion 2024.12.18 23:38:23.609854 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.609884 [ 14 ] {} RaftInstance: wake up, durable index 13 2024.12.18 23:38:23.609901 [ 14 ] {} RaftInstance: local log idx 13, target_commit_idx 12, quick_commit_index_ 12, state_->get_commit_idx() 12 2024.12.18 23:38:23.609910 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.609936 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.609958 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.609967 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=14 2024.12.18 23:38:23.610033 [ 19 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:23.610255 [ 12 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=13, LastLogTerm 1, EntriesLength=1, CommitIndex=13 and Term=1 2024.12.18 23:38:23.610279 [ 12 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 13 (1), req c idx: 13, my term: 1, my role: 1 2024.12.18 23:38:23.610286 [ 12 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.610292 [ 12 ] {} RaftInstance: [LOG OK] req log idx: 13, req log term: 1, my last log idx: 13, my log (13) term: 1 2024.12.18 23:38:23.610297 [ 12 ] {} RaftInstance: [INIT] log_idx: 14, count: 0, log_store_->next_slot(): 14, req.log_entries().size(): 1 2024.12.18 23:38:23.610313 [ 12 ] {} RaftInstance: [after SKIP] log_idx: 14, count: 0 2024.12.18 23:38:23.610321 [ 12 ] {} RaftInstance: [after OVWR] log_idx: 14, count: 0 2024.12.18 23:38:23.610330 [ 12 ] {} RaftInstance: append at 14, term 1, timestamp 0 2024.12.18 23:38:23.610366 [ 12 ] {} RaftInstance: durable index 13, sleep and wait for log appending completion 2024.12.18 23:38:23.610399 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.610432 [ 12 ] {} RaftInstance: wake up, durable index 14 2024.12.18 23:38:23.610444 [ 12 ] {} RaftInstance: trigger commit upto 13 2024.12.18 23:38:23.610452 [ 12 ] {} RaftInstance: local log idx 14, target_commit_idx 13, quick_commit_index_ 13, state_->get_commit_idx() 12 2024.12.18 23:38:23.610460 [ 12 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.610486 [ 12 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.610496 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.610501 [ 12 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.610513 [ 20 ] {} RaftInstance: commit upto 13, current idx 12 2024.12.18 23:38:23.610523 [ 20 ] {} RaftInstance: commit upto 13, current idx 13 2024.12.18 23:38:23.610525 [ 12 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.610539 [ 12 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=15 2024.12.18 23:38:23.610550 [ 20 ] {} RaftInstance: DONE: commit upto 13, current idx 13 2024.12.18 23:38:23.610561 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.610735 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 90 2024.12.18 23:38:23.610753 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:23.610770 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=14, LastLogTerm 1, EntriesLength=0, CommitIndex=14 and Term=1 2024.12.18 23:38:23.610774 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:23.610786 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 14 (0), req c idx: 14, my term: 1, my role: 1 2024.12.18 23:38:23.610794 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.610810 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 14, req log term: 1, my last log idx: 14, my log (14) term: 1 2024.12.18 23:38:23.610816 [ 13 ] {} RaftInstance: trigger commit upto 14 2024.12.18 23:38:23.610821 [ 13 ] {} RaftInstance: local log idx 14, target_commit_idx 14, quick_commit_index_ 14, state_->get_commit_idx() 13 2024.12.18 23:38:23.610826 [ 13 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.610843 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.610857 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.610862 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.610869 [ 20 ] {} RaftInstance: commit upto 14, current idx 13 2024.12.18 23:38:23.610875 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.610878 [ 20 ] {} RaftInstance: commit upto 14, current idx 14 2024.12.18 23:38:23.610882 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=15 2024.12.18 23:38:23.610924 [ 20 ] {} RaftInstance: DONE: commit upto 14, current idx 14 2024.12.18 23:38:23.610933 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.611261 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=14, LastLogTerm 1, EntriesLength=1, CommitIndex=14 and Term=1 2024.12.18 23:38:23.611276 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 14 (1), req c idx: 14, my term: 1, my role: 1 2024.12.18 23:38:23.611288 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.611295 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 14, req log term: 1, my last log idx: 14, my log (14) term: 1 2024.12.18 23:38:23.611300 [ 18 ] {} RaftInstance: [INIT] log_idx: 15, count: 0, log_store_->next_slot(): 15, req.log_entries().size(): 1 2024.12.18 23:38:23.611309 [ 18 ] {} RaftInstance: [after SKIP] log_idx: 15, count: 0 2024.12.18 23:38:23.611313 [ 18 ] {} RaftInstance: [after OVWR] log_idx: 15, count: 0 2024.12.18 23:38:23.611320 [ 18 ] {} RaftInstance: append at 15, term 1, timestamp 0 2024.12.18 23:38:23.611344 [ 18 ] {} RaftInstance: durable index 14, sleep and wait for log appending completion 2024.12.18 23:38:23.611392 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.611445 [ 18 ] {} RaftInstance: wake up, durable index 15 2024.12.18 23:38:23.611458 [ 18 ] {} RaftInstance: local log idx 15, target_commit_idx 14, quick_commit_index_ 14, state_->get_commit_idx() 14 2024.12.18 23:38:23.611464 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.611478 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.611492 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.611501 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=16 2024.12.18 23:38:23.611659 [ 19 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:23.611799 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=15, LastLogTerm 1, EntriesLength=1, CommitIndex=15 and Term=1 2024.12.18 23:38:23.611811 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 15 (1), req c idx: 15, my term: 1, my role: 1 2024.12.18 23:38:23.611833 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.611839 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 15, req log term: 1, my last log idx: 15, my log (15) term: 1 2024.12.18 23:38:23.611845 [ 14 ] {} RaftInstance: [INIT] log_idx: 16, count: 0, log_store_->next_slot(): 16, req.log_entries().size(): 1 2024.12.18 23:38:23.611851 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 16, count: 0 2024.12.18 23:38:23.611860 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 16, count: 0 2024.12.18 23:38:23.611868 [ 14 ] {} RaftInstance: append at 16, term 1, timestamp 0 2024.12.18 23:38:23.611891 [ 14 ] {} RaftInstance: durable index 15, sleep and wait for log appending completion 2024.12.18 23:38:23.611939 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.611966 [ 14 ] {} RaftInstance: wake up, durable index 16 2024.12.18 23:38:23.611983 [ 14 ] {} RaftInstance: trigger commit upto 15 2024.12.18 23:38:23.611991 [ 14 ] {} RaftInstance: local log idx 16, target_commit_idx 15, quick_commit_index_ 15, state_->get_commit_idx() 14 2024.12.18 23:38:23.612000 [ 14 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.612019 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.612027 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.612033 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.612039 [ 20 ] {} RaftInstance: commit upto 15, current idx 14 2024.12.18 23:38:23.612055 [ 20 ] {} RaftInstance: commit upto 15, current idx 15 2024.12.18 23:38:23.612058 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.612068 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=17 2024.12.18 23:38:23.612083 [ 20 ] {} RaftInstance: DONE: commit upto 15, current idx 15 2024.12.18 23:38:23.612100 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.612256 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 101 2024.12.18 23:38:23.612258 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=16, LastLogTerm 1, EntriesLength=0, CommitIndex=16 and Term=1 2024.12.18 23:38:23.612278 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:23.612310 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:23.612282 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 16 (0), req c idx: 16, my term: 1, my role: 1 2024.12.18 23:38:23.612359 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.612369 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 16, req log term: 1, my last log idx: 16, my log (16) term: 1 2024.12.18 23:38:23.612386 [ 17 ] {} RaftInstance: trigger commit upto 16 2024.12.18 23:38:23.612395 [ 17 ] {} RaftInstance: local log idx 16, target_commit_idx 16, quick_commit_index_ 16, state_->get_commit_idx() 15 2024.12.18 23:38:23.612401 [ 17 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.612408 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.612422 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.612425 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.612431 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.612444 [ 20 ] {} RaftInstance: commit upto 16, current idx 15 2024.12.18 23:38:23.612447 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=17 2024.12.18 23:38:23.612453 [ 20 ] {} RaftInstance: commit upto 16, current idx 16 2024.12.18 23:38:23.612478 [ 20 ] {} RaftInstance: DONE: commit upto 16, current idx 16 2024.12.18 23:38:23.612497 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.612674 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=16, LastLogTerm 1, EntriesLength=1, CommitIndex=16 and Term=1 2024.12.18 23:38:23.612689 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 16 (1), req c idx: 16, my term: 1, my role: 1 2024.12.18 23:38:23.612695 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.612708 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 16, req log term: 1, my last log idx: 16, my log (16) term: 1 2024.12.18 23:38:23.612714 [ 14 ] {} RaftInstance: [INIT] log_idx: 17, count: 0, log_store_->next_slot(): 17, req.log_entries().size(): 1 2024.12.18 23:38:23.612719 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 17, count: 0 2024.12.18 23:38:23.612724 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 17, count: 0 2024.12.18 23:38:23.612735 [ 14 ] {} RaftInstance: append at 17, term 1, timestamp 0 2024.12.18 23:38:23.612755 [ 14 ] {} RaftInstance: durable index 16, sleep and wait for log appending completion 2024.12.18 23:38:23.612801 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.612830 [ 14 ] {} RaftInstance: wake up, durable index 17 2024.12.18 23:38:23.612847 [ 14 ] {} RaftInstance: local log idx 17, target_commit_idx 16, quick_commit_index_ 16, state_->get_commit_idx() 16 2024.12.18 23:38:23.612864 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.612884 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.612901 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.612910 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=18 2024.12.18 23:38:23.613136 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=17, LastLogTerm 1, EntriesLength=1, CommitIndex=17 and Term=1 2024.12.18 23:38:23.613158 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 17 (1), req c idx: 17, my term: 1, my role: 1 2024.12.18 23:38:23.613166 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.613175 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 17, req log term: 1, my last log idx: 17, my log (17) term: 1 2024.12.18 23:38:23.613187 [ 13 ] {} RaftInstance: [INIT] log_idx: 18, count: 0, log_store_->next_slot(): 18, req.log_entries().size(): 1 2024.12.18 23:38:23.613196 [ 13 ] {} RaftInstance: [after SKIP] log_idx: 18, count: 0 2024.12.18 23:38:23.613202 [ 13 ] {} RaftInstance: [after OVWR] log_idx: 18, count: 0 2024.12.18 23:38:23.613212 [ 13 ] {} RaftInstance: append at 18, term 1, timestamp 0 2024.12.18 23:38:23.613241 [ 13 ] {} RaftInstance: durable index 17, sleep and wait for log appending completion 2024.12.18 23:38:23.613260 [ 19 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:23.613299 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.613333 [ 13 ] {} RaftInstance: wake up, durable index 18 2024.12.18 23:38:23.613346 [ 13 ] {} RaftInstance: trigger commit upto 17 2024.12.18 23:38:23.613354 [ 13 ] {} RaftInstance: local log idx 18, target_commit_idx 17, quick_commit_index_ 17, state_->get_commit_idx() 16 2024.12.18 23:38:23.613368 [ 13 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.613383 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.613393 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.613396 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.613404 [ 20 ] {} RaftInstance: commit upto 17, current idx 16 2024.12.18 23:38:23.613411 [ 20 ] {} RaftInstance: commit upto 17, current idx 17 2024.12.18 23:38:23.613416 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.613431 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=19 2024.12.18 23:38:23.613433 [ 20 ] {} RaftInstance: DONE: commit upto 17, current idx 17 2024.12.18 23:38:23.613445 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.613627 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=18, LastLogTerm 1, EntriesLength=0, CommitIndex=18 and Term=1 2024.12.18 23:38:23.613644 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 105 2024.12.18 23:38:23.613652 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 18 (0), req c idx: 18, my term: 1, my role: 1 2024.12.18 23:38:23.613665 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.613666 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:23.613675 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 18, req log term: 1, my last log idx: 18, my log (18) term: 1 2024.12.18 23:38:23.613681 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:23.613684 [ 17 ] {} RaftInstance: trigger commit upto 18 2024.12.18 23:38:23.613692 [ 17 ] {} RaftInstance: local log idx 18, target_commit_idx 18, quick_commit_index_ 18, state_->get_commit_idx() 17 2024.12.18 23:38:23.613702 [ 17 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.613718 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.613724 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.613739 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.613740 [ 20 ] {} RaftInstance: commit upto 18, current idx 17 2024.12.18 23:38:23.613750 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.613753 [ 20 ] {} RaftInstance: commit upto 18, current idx 18 2024.12.18 23:38:23.613770 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=19 2024.12.18 23:38:23.613810 [ 20 ] {} RaftInstance: DONE: commit upto 18, current idx 18 2024.12.18 23:38:23.613820 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.613989 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=18, LastLogTerm 1, EntriesLength=1, CommitIndex=18 and Term=1 2024.12.18 23:38:23.614018 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 18 (1), req c idx: 18, my term: 1, my role: 1 2024.12.18 23:38:23.614028 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.614034 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 18, req log term: 1, my last log idx: 18, my log (18) term: 1 2024.12.18 23:38:23.614046 [ 16 ] {} RaftInstance: [INIT] log_idx: 19, count: 0, log_store_->next_slot(): 19, req.log_entries().size(): 1 2024.12.18 23:38:23.614052 [ 16 ] {} RaftInstance: [after SKIP] log_idx: 19, count: 0 2024.12.18 23:38:23.614057 [ 16 ] {} RaftInstance: [after OVWR] log_idx: 19, count: 0 2024.12.18 23:38:23.614064 [ 16 ] {} RaftInstance: append at 19, term 1, timestamp 0 2024.12.18 23:38:23.614084 [ 16 ] {} RaftInstance: durable index 18, sleep and wait for log appending completion 2024.12.18 23:38:23.614117 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:23.614147 [ 16 ] {} RaftInstance: wake up, durable index 19 2024.12.18 23:38:23.614158 [ 16 ] {} RaftInstance: local log idx 19, target_commit_idx 18, quick_commit_index_ 18, state_->get_commit_idx() 18 2024.12.18 23:38:23.614163 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.614173 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.614207 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.614216 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:23.614399 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:23.614417 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:23.614435 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.614443 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:23.614450 [ 17 ] {} RaftInstance: trigger commit upto 19 2024.12.18 23:38:23.614456 [ 17 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 18 2024.12.18 23:38:23.614466 [ 17 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:23.614487 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.614497 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.614506 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.614510 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:23.614515 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:23.614525 [ 20 ] {} RaftInstance: commit upto 19, current idx 18 2024.12.18 23:38:23.614537 [ 15 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:23.614544 [ 20 ] {} RaftInstance: commit upto 19, current idx 19 2024.12.18 23:38:23.614572 [ 20 ] {} RaftInstance: DONE: commit upto 19, current idx 19 2024.12.18 23:38:23.614588 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:23.725665 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:23.725679 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:23.725685 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:23.725701 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:23.725707 [ 16 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:23.725712 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:23.725726 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:23.725735 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:23.725746 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:24.226175 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:24.226202 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:24.226224 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:24.226232 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:24.226238 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:24.226244 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:24.226259 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:24.226281 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:24.226287 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:24.726754 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:24.726787 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:24.726819 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:24.726832 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:24.726843 [ 15 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:24.726853 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:24.726887 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:24.726914 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:24.726922 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:25.227659 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:25.227722 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:25.227737 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:25.227752 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:25.227766 [ 16 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:25.227790 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:25.227810 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:25.227828 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:25.227841 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:25.728567 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:25.728629 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:25.728644 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:25.728663 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:25.728686 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:25.728700 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:25.728730 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:25.728756 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:25.728765 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:26.229515 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:26.229557 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:26.229568 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:26.229601 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:26.229609 [ 15 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:26.229616 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:26.229636 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:26.229656 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:26.229676 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:26.730311 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:26.730343 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:26.730419 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:26.730427 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:26.730433 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:26.730439 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:26.730457 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:26.730482 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:26.730492 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:27.231102 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:27.231138 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:27.231163 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:27.231174 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:27.231181 [ 15 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:27.231195 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:27.231215 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:27.231235 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:27.231246 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:27.731881 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:27.731940 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:27.731955 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:27.731968 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:27.731978 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:27.731999 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:27.732026 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:27.732051 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:27.732062 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:28.232639 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:28.232685 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:28.232698 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:28.232710 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:28.232728 [ 15 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:28.232737 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:28.232756 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:28.232774 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:28.232781 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:28.733408 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:28.733437 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:28.733446 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:28.733470 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:28.733479 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:28.733486 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:28.733496 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:28.733515 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:28.733536 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:29.234211 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:29.234246 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:29.234274 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:29.234284 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:29.234291 [ 15 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:29.234299 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:29.234319 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:29.234348 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:29.234356 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:29.734954 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:29.734985 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:29.735010 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:29.735018 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:29.735024 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:29.735036 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:29.735055 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:29.735072 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:29.735078 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:30.235479 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:30.235532 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:30.235545 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:30.235554 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:30.235561 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:30.235575 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:30.235594 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:30.235612 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:30.235620 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:30.736163 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:30.736195 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:30.736206 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:30.736219 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:30.736252 [ 15 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:30.736278 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:30.736308 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:30.736327 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:30.736334 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:31.237075 [ 12 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:31.237109 [ 12 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:31.237120 [ 12 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:31.237148 [ 12 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:31.237156 [ 12 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:31.237164 [ 12 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:31.237185 [ 12 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:31.237206 [ 12 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:31.237221 [ 12 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:31.737898 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:31.737925 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:31.737955 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:31.737965 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:31.737972 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:31.737978 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:31.737996 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:31.738022 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:31.738029 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:32.238703 [ 12 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:32.238738 [ 12 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:32.238764 [ 12 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:32.238775 [ 12 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:32.238786 [ 12 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:32.238851 [ 12 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:32.238876 [ 12 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:32.238901 [ 12 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:32.238911 [ 12 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:32.739303 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:32.739370 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:32.739393 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:32.739414 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:32.739435 [ 14 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:32.739491 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:32.739538 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:32.739582 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:32.739597 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:33.240497 [ 12 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=0, CommitIndex=19 and Term=1 2024.12.18 23:38:33.240543 [ 12 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (0), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:33.240560 [ 12 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:33.240577 [ 12 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:33.240615 [ 12 ] {} RaftInstance: local log idx 19, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:33.240630 [ 12 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:33.240666 [ 12 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:33.240703 [ 12 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:33.240719 [ 12 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=20 2024.12.18 23:38:33.606706 [ 3 ] {} KeeperTCPHandler: Received heartbeat for session #5 2024.12.18 23:38:33.606727 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 0 2024.12.18 23:38:33.606782 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:33.606797 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:33.607294 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=2, CommitIndex=19 and Term=1 2024.12.18 23:38:33.607334 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (2), req c idx: 19, my term: 1, my role: 1 2024.12.18 23:38:33.607345 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:33.607354 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 19, my log (19) term: 1 2024.12.18 23:38:33.607368 [ 17 ] {} RaftInstance: [INIT] log_idx: 20, count: 0, log_store_->next_slot(): 20, req.log_entries().size(): 2 2024.12.18 23:38:33.607375 [ 17 ] {} RaftInstance: [after SKIP] log_idx: 20, count: 0 2024.12.18 23:38:33.607381 [ 17 ] {} RaftInstance: [after OVWR] log_idx: 20, count: 0 2024.12.18 23:38:33.607398 [ 17 ] {} RaftInstance: append at 20, term 1, timestamp 0 2024.12.18 23:38:33.607423 [ 17 ] {} RaftInstance: append at 21, term 1, timestamp 0 2024.12.18 23:38:33.607441 [ 17 ] {} RaftInstance: durable index 19, sleep and wait for log appending completion 2024.12.18 23:38:33.607485 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:33.607522 [ 17 ] {} RaftInstance: wake up, durable index 21 2024.12.18 23:38:33.607540 [ 17 ] {} RaftInstance: local log idx 21, target_commit_idx 19, quick_commit_index_ 19, state_->get_commit_idx() 19 2024.12.18 23:38:33.607563 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:33.607587 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:33.607610 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:33.607620 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:33.607856 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=19, LastLogTerm 1, EntriesLength=2, CommitIndex=21 and Term=1 2024.12.18 23:38:33.607903 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 19 (2), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:33.607911 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:33.607917 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 19, req log term: 1, my last log idx: 21, my log (19) term: 1 2024.12.18 23:38:33.607926 [ 14 ] {} RaftInstance: [INIT] log_idx: 20, count: 0, log_store_->next_slot(): 22, req.log_entries().size(): 2 2024.12.18 23:38:33.607945 [ 14 ] {} RaftInstance: [after SKIP] log_idx: 22, count: 2 2024.12.18 23:38:33.607953 [ 14 ] {} RaftInstance: [after OVWR] log_idx: 22, count: 2 2024.12.18 23:38:33.607965 [ 14 ] {} RaftInstance: trigger commit upto 21 2024.12.18 23:38:33.607974 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 19 2024.12.18 23:38:33.608005 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:33.608011 [ 14 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:33.608041 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:33.608058 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:33.608059 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:33.608072 [ 20 ] {} RaftInstance: commit upto 21, current idx 19 2024.12.18 23:38:33.608090 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:33.608099 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:33.608103 [ 20 ] {} RaftInstance: commit upto 21, current idx 20 2024.12.18 23:38:33.607980 [ 18 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:33.608119 [ 20 ] {} RaftInstance: commit upto 21, current idx 21 2024.12.18 23:38:33.608136 [ 20 ] {} RaftInstance: DONE: commit upto 21, current idx 21 2024.12.18 23:38:33.608142 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:33.740807 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:33.740842 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:33.740908 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:33.740919 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:33.740926 [ 13 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:33.740931 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:33.740954 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:33.740969 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:33.740975 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:34.241710 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:34.241754 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:34.241761 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:34.241768 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:34.241774 [ 18 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:34.241792 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:34.241808 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:34.241816 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:34.241821 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:34.742254 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:34.742304 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:34.742315 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:34.742327 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:34.742334 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:34.742348 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:34.742368 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:34.742386 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:34.742393 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:35.242872 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:35.242909 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:35.242920 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:35.242931 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:35.242984 [ 18 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:35.242993 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:35.243014 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:35.243033 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:35.243040 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:35.743767 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:35.743817 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:35.743832 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:35.743879 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:35.743894 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:35.743907 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:35.743946 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:35.743993 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:35.744003 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:36.244832 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:36.244887 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:36.244960 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:36.244978 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:36.244991 [ 13 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:36.245004 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:36.245037 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:36.245058 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:36.245073 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:36.745836 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:36.745911 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:36.745928 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:36.745943 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:36.745957 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:36.745985 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:36.746022 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:36.746061 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:36.746076 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:37.247009 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:37.247117 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:37.247143 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:37.247161 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:37.247176 [ 13 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:37.247209 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:37.247247 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:37.247273 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:37.247279 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:37.748080 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:37.748133 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:37.748150 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:37.748164 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:37.748196 [ 16 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:37.748204 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:37.748225 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:37.748244 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:37.748251 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:38.248895 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:38.248922 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:38.248929 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:38.248976 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:38.248983 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:38.248989 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:38.249008 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:38.249036 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:38.249043 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:38.749669 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:38.749705 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:38.749799 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:38.749811 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:38.749818 [ 16 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:38.749825 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:38.749854 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:38.749876 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:38.749883 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:39.250512 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:39.250568 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:39.250578 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:39.250587 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:39.250595 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:39.250609 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:39.250631 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:39.250649 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:39.250656 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:39.751267 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:39.751346 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:39.751355 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:39.751365 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:39.751386 [ 16 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:39.751395 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:39.751415 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:39.751435 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:39.751442 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:40.251999 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:40.252029 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:40.252038 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:40.252047 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:40.252076 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:40.252084 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:40.252104 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:40.252122 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:40.252128 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:40.752708 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:40.752743 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:40.752755 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:40.752789 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:40.752799 [ 16 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:40.752809 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:40.752833 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:40.752868 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:40.752879 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:41.253675 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:41.253738 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:41.253797 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:41.253825 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:41.253848 [ 14 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:41.253866 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:41.253930 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:41.253967 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:41.253980 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:41.754666 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:41.754718 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:41.754742 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:41.754766 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:41.754804 [ 16 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:41.754826 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:41.754874 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:41.754924 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:41.754944 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:42.255830 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:42.255882 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:42.255908 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:42.255931 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:42.255949 [ 19 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:42.255963 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:42.256000 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:42.256036 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:42.256051 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:42.756727 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:42.756751 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:42.756759 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:42.756765 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:42.756774 [ 16 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:42.756783 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:42.756804 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:42.756817 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:42.756825 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:43.257579 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=0, CommitIndex=21 and Term=1 2024.12.18 23:38:43.257602 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (0), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:43.257612 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:43.257625 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:43.257637 [ 19 ] {} RaftInstance: local log idx 21, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:43.257646 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:43.257665 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:43.257686 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:43.257694 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=22 2024.12.18 23:38:43.606636 [ 3 ] {} KeeperTCPHandler: Received heartbeat for session #5 2024.12.18 23:38:43.606654 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 0 2024.12.18 23:38:43.606678 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:43.606685 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:43.606985 [ 15 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=2, CommitIndex=21 and Term=1 2024.12.18 23:38:43.607011 [ 15 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (2), req c idx: 21, my term: 1, my role: 1 2024.12.18 23:38:43.607036 [ 15 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:43.607046 [ 15 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 21, my log (21) term: 1 2024.12.18 23:38:43.607055 [ 15 ] {} RaftInstance: [INIT] log_idx: 22, count: 0, log_store_->next_slot(): 22, req.log_entries().size(): 2 2024.12.18 23:38:43.607066 [ 15 ] {} RaftInstance: [after SKIP] log_idx: 22, count: 0 2024.12.18 23:38:43.607076 [ 15 ] {} RaftInstance: [after OVWR] log_idx: 22, count: 0 2024.12.18 23:38:43.607088 [ 15 ] {} RaftInstance: append at 22, term 1, timestamp 0 2024.12.18 23:38:43.607116 [ 15 ] {} RaftInstance: append at 23, term 1, timestamp 0 2024.12.18 23:38:43.607129 [ 15 ] {} RaftInstance: durable index 21, sleep and wait for log appending completion 2024.12.18 23:38:43.607137 [ 15 ] {} RaftInstance: wake up, durable index 21 2024.12.18 23:38:43.607144 [ 15 ] {} RaftInstance: durable index 21, sleep and wait for log appending completion 2024.12.18 23:38:43.607168 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:43.607199 [ 15 ] {} RaftInstance: wake up, durable index 23 2024.12.18 23:38:43.607211 [ 15 ] {} RaftInstance: local log idx 23, target_commit_idx 21, quick_commit_index_ 21, state_->get_commit_idx() 21 2024.12.18 23:38:43.607218 [ 15 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:43.607233 [ 15 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:43.607248 [ 15 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:43.607254 [ 15 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:43.607518 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=21, LastLogTerm 1, EntriesLength=2, CommitIndex=23 and Term=1 2024.12.18 23:38:43.607537 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 21 (2), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:43.607548 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:43.607564 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 21, req log term: 1, my last log idx: 23, my log (21) term: 1 2024.12.18 23:38:43.607574 [ 19 ] {} RaftInstance: [INIT] log_idx: 22, count: 0, log_store_->next_slot(): 24, req.log_entries().size(): 2 2024.12.18 23:38:43.607583 [ 19 ] {} RaftInstance: [after SKIP] log_idx: 24, count: 2 2024.12.18 23:38:43.607592 [ 19 ] {} RaftInstance: [after OVWR] log_idx: 24, count: 2 2024.12.18 23:38:43.607604 [ 19 ] {} RaftInstance: trigger commit upto 23 2024.12.18 23:38:43.607614 [ 19 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 21 2024.12.18 23:38:43.607624 [ 19 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:43.607637 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:43.607651 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:43.607671 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:43.607675 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:43.607688 [ 20 ] {} RaftInstance: commit upto 23, current idx 21 2024.12.18 23:38:43.607691 [ 15 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:43.607700 [ 20 ] {} RaftInstance: commit upto 23, current idx 22 2024.12.18 23:38:43.607698 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:43.607723 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:43.607739 [ 20 ] {} RaftInstance: commit upto 23, current idx 23 2024.12.18 23:38:43.607758 [ 20 ] {} RaftInstance: DONE: commit upto 23, current idx 23 2024.12.18 23:38:43.607770 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:43.758292 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:43.758317 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:43.758328 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:43.758339 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:43.758349 [ 18 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:43.758359 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:43.758383 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:43.758407 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:43.758419 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:44.259010 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:44.259030 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:44.259035 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:44.259042 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:44.259047 [ 19 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:44.259053 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:44.259067 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:44.259082 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:44.259089 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:44.759743 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:44.759766 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:44.759773 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:44.759781 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:44.759788 [ 18 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:44.759795 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:44.759813 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:44.759831 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:44.759839 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:45.260249 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:45.260281 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:45.260290 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:45.260299 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:45.260307 [ 19 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:45.260313 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:45.260331 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:45.260344 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:45.260351 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:45.760795 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:45.760826 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:45.760834 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:45.760842 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:45.760851 [ 18 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:45.760858 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:45.760878 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:45.760898 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:45.760906 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:46.261715 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:46.261783 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:46.261807 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:46.261830 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:46.261850 [ 13 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:46.261869 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:46.261919 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:46.261967 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:46.261987 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:46.762736 [ 19 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:46.762795 [ 19 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:46.762813 [ 19 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:46.762825 [ 19 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:46.762835 [ 19 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:46.762845 [ 19 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:46.762864 [ 19 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:46.762884 [ 19 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:46.762897 [ 19 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:47.263602 [ 18 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:47.263636 [ 18 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:47.263646 [ 18 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:47.263656 [ 18 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:47.263664 [ 18 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:47.263671 [ 18 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:47.263691 [ 18 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:47.263708 [ 18 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:47.263716 [ 18 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:47.764417 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:47.764452 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:47.764461 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:47.764471 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:47.764478 [ 13 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:47.764485 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:47.764505 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:47.764525 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:47.764532 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:48.265126 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:48.265159 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:48.265170 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:48.265179 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:48.265188 [ 13 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:48.265195 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:48.265214 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:48.265232 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:48.265240 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:48.765928 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:48.765966 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:48.765976 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:48.765986 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:48.765997 [ 17 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:48.766010 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:48.766033 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:48.766046 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:48.766054 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:49.266722 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:49.266758 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:49.266767 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:49.266777 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:49.266786 [ 13 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:49.266793 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:49.266813 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:49.266833 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:49.266841 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:49.767461 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:49.767498 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:49.767510 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:49.767522 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:49.767530 [ 17 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:49.767537 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:49.767557 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:49.767577 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:49.767589 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:50.268203 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:50.268236 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:50.268245 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:50.268254 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:50.268262 [ 14 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:50.268269 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:50.268288 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:50.268309 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:50.268321 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:50.768918 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:50.768949 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:50.768958 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:50.768967 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:50.768974 [ 17 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:50.768981 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:50.769000 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:50.769019 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:50.769027 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:51.269725 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:51.269760 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:51.269769 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:51.269779 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:51.269788 [ 14 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:51.269797 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:51.269820 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:51.269842 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:51.269850 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:51.770527 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:51.770555 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:51.770565 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:51.770576 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:51.770583 [ 17 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:51.770589 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:51.770605 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:51.770620 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:51.770626 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:52.271058 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:52.271092 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:52.271102 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:52.271111 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:52.271119 [ 17 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:52.271126 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:52.271147 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:52.271174 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:52.271185 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:52.771962 [ 14 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:52.772005 [ 14 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:52.772015 [ 14 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:52.772026 [ 14 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:52.772034 [ 14 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:52.772044 [ 14 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:52.772065 [ 14 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:52.772088 [ 14 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:52.772097 [ 14 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:53.272779 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=0, CommitIndex=23 and Term=1 2024.12.18 23:38:53.272814 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (0), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:53.272826 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:53.272838 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:53.272849 [ 17 ] {} RaftInstance: local log idx 23, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:53.272858 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:53.272882 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:53.272903 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:53.272911 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=24 2024.12.18 23:38:53.606637 [ 3 ] {} KeeperTCPHandler: Received heartbeat for session #5 2024.12.18 23:38:53.606660 [ 6 ] {} KeeperDispatcher: Processing requests batch, size: 1, bytes: 0 2024.12.18 23:38:53.606690 [ 6 ] {} RaftInstance: auto forwarding pkg for leader 2 exists 1d8e3880 2024.12.18 23:38:53.606700 [ 6 ] {} RaftInstance: idle connection 1d8e39c0 2024.12.18 23:38:53.607004 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=2, CommitIndex=23 and Term=1 2024.12.18 23:38:53.607022 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (2), req c idx: 23, my term: 1, my role: 1 2024.12.18 23:38:53.607030 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:53.607038 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 23, my log (23) term: 1 2024.12.18 23:38:53.607046 [ 17 ] {} RaftInstance: [INIT] log_idx: 24, count: 0, log_store_->next_slot(): 24, req.log_entries().size(): 2 2024.12.18 23:38:53.607053 [ 17 ] {} RaftInstance: [after SKIP] log_idx: 24, count: 0 2024.12.18 23:38:53.607059 [ 17 ] {} RaftInstance: [after OVWR] log_idx: 24, count: 0 2024.12.18 23:38:53.607067 [ 17 ] {} RaftInstance: append at 24, term 1, timestamp 0 2024.12.18 23:38:53.607091 [ 17 ] {} RaftInstance: append at 25, term 1, timestamp 0 2024.12.18 23:38:53.607100 [ 17 ] {} RaftInstance: durable index 23, sleep and wait for log appending completion 2024.12.18 23:38:53.607107 [ 17 ] {} RaftInstance: wake up, durable index 23 2024.12.18 23:38:53.607112 [ 17 ] {} RaftInstance: durable index 23, sleep and wait for log appending completion 2024.12.18 23:38:53.607160 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:53.607202 [ 17 ] {} RaftInstance: wake up, durable index 25 2024.12.18 23:38:53.607215 [ 17 ] {} RaftInstance: local log idx 25, target_commit_idx 23, quick_commit_index_ 23, state_->get_commit_idx() 23 2024.12.18 23:38:53.607223 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:53.607240 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:53.607257 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:53.607264 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:53.607485 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=23, LastLogTerm 1, EntriesLength=2, CommitIndex=25 and Term=1 2024.12.18 23:38:53.607506 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 23 (2), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:53.607515 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:53.607524 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 23, req log term: 1, my last log idx: 25, my log (23) term: 1 2024.12.18 23:38:53.607534 [ 17 ] {} RaftInstance: [INIT] log_idx: 24, count: 0, log_store_->next_slot(): 26, req.log_entries().size(): 2 2024.12.18 23:38:53.607542 [ 17 ] {} RaftInstance: [after SKIP] log_idx: 26, count: 2 2024.12.18 23:38:53.607549 [ 17 ] {} RaftInstance: [after OVWR] log_idx: 26, count: 2 2024.12.18 23:38:53.607561 [ 17 ] {} RaftInstance: trigger commit upto 25 2024.12.18 23:38:53.607569 [ 17 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 23 2024.12.18 23:38:53.607576 [ 17 ] {} RaftInstance: commit_cv_ notify (local thread) 2024.12.18 23:38:53.607588 [ 11 ] {} RaftInstance: got log append completion notification: OK 2024.12.18 23:38:53.607598 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:53.607611 [ 20 ] {} RaftInstance: commit_cv_ wake up 2024.12.18 23:38:53.607614 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:53.607627 [ 20 ] {} RaftInstance: commit upto 25, current idx 23 2024.12.18 23:38:53.607635 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:53.607638 [ 20 ] {} RaftInstance: commit upto 25, current idx 24 2024.12.18 23:38:53.607644 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:53.607661 [ 20 ] {} RaftInstance: commit upto 25, current idx 25 2024.12.18 23:38:53.607667 [ 18 ] {} RaftInstance: release connection 1d8e39c0, idle 1, in-use 0, max 10 2024.12.18 23:38:53.607676 [ 20 ] {} RaftInstance: DONE: commit upto 25, current idx 25 2024.12.18 23:38:53.607687 [ 20 ] {} RaftInstance: commit_cv_ sleep 2024.12.18 23:38:53.773502 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:53.773526 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:53.773534 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:53.773542 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:53.773549 [ 17 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:53.773556 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:53.773575 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:53.773593 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:53.773600 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:54.274265 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:54.274284 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:54.274290 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:54.274296 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:54.274302 [ 16 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:54.274308 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:54.274322 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:54.274337 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:54.274343 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:54.775031 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:54.775054 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:54.775064 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:54.775075 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:54.775084 [ 16 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:54.775090 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:54.775106 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:54.775120 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:54.775126 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:55.275797 [ 16 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:55.275832 [ 16 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:55.275844 [ 16 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:55.275856 [ 16 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:55.275864 [ 16 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:55.275871 [ 16 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:55.275889 [ 16 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:55.275907 [ 16 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:55.275914 [ 16 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:55.776586 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:55.776616 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:55.776629 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:55.776640 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:55.776649 [ 17 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:55.776657 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:55.776675 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:55.776694 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:55.776702 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:56.277410 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:56.277449 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:56.277461 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:56.277473 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:56.277484 [ 17 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:56.277493 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:56.277516 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:56.277536 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:56.277543 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:56.778158 [ 13 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:56.778188 [ 13 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:56.778197 [ 13 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:56.778206 [ 13 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:56.778213 [ 13 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:56.778220 [ 13 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:56.778229 [ 13 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:56.778249 [ 13 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:56.778257 [ 13 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26 2024.12.18 23:38:57.278884 [ 17 ] {} RaftInstance: Receive a append_entries_request message from 2 with LastLogIndex=25, LastLogTerm 1, EntriesLength=0, CommitIndex=25 and Term=1 2024.12.18 23:38:57.278914 [ 17 ] {} RaftInstance: from peer 2, req type: 3, req term: 1, req l idx: 25 (0), req c idx: 25, my term: 1, my role: 1 2024.12.18 23:38:57.278925 [ 17 ] {} RaftInstance: (update) new target priority: 1 2024.12.18 23:38:57.278935 [ 17 ] {} RaftInstance: [LOG OK] req log idx: 25, req log term: 1, my last log idx: 25, my log (25) term: 1 2024.12.18 23:38:57.278944 [ 17 ] {} RaftInstance: local log idx 25, target_commit_idx 25, quick_commit_index_ 25, state_->get_commit_idx() 25 2024.12.18 23:38:57.278952 [ 17 ] {} RaftInstance: cancel existing timer 2024.12.18 23:38:57.278972 [ 17 ] {} RaftInstance: re-schedule election timer 2024.12.18 23:38:57.278991 [ 17 ] {} RaftInstance: batch size hint: 0 bytes 2024.12.18 23:38:57.279000 [ 17 ] {} RaftInstance: Response back a append_entries_response message to 2 with Accepted=1, Term=1, NextIndex=26