You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With default snapshot distance, which is currently 2000, below command line will hit crash complaining compact_lsn passed down from nuraft server that is exceeding cur_max_lsn
282 bool HomeRaftLogStore::compact(ulong compact_lsn) {
283 auto cur_max_lsn = m_log_store->get_contiguous_issued_seq_num(m_last_durable_lsn);
284 if (cur_max_lsn < to_store_lsn(compact_lsn)) {
285 // release this assert if for some use case, we should tolorant this case;
286 // for now, don't expect this case to happen.
287 RELEASE_ASSERT(false, "compact_lsn={} is beyond the current max_lsn={}", compact_lsn, cur_max_lsn);
The text was updated successfully, but these errors were encountered:
With default snapshot distance, which is currently 2000, below command line will hit crash complaining compact_lsn passed down from nuraft server that is exceeding cur_max_lsn
./bin/test_raft_repl_dev --gtest_filter=*Snapshot_and_Compact* --num_io=999999 --override_config nuraft_mesg_config.mesg_factory_config.data_request_deadline_secs:120 --config_path ./config --dev_size_mb=8192 2>&1 | tee log
Assert hit here at line: 287
The text was updated successfully, but these errors were encountered: