From f5516d50b8e085af4bb59c21c17cbb351e93a1bd Mon Sep 17 00:00:00 2001 From: Shinichi Umegane Date: Sat, 22 Feb 2025 08:49:32 +0900 Subject: [PATCH] Improve state transitions in blob_file_garbage_collector (WIP) --- src/limestone/blob_file_gc_state_machine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/limestone/blob_file_gc_state_machine.cpp b/src/limestone/blob_file_gc_state_machine.cpp index 08c7b7a..1e8afe2 100644 --- a/src/limestone/blob_file_gc_state_machine.cpp +++ b/src/limestone/blob_file_gc_state_machine.cpp @@ -115,6 +115,7 @@ blob_file_gc_state blob_file_gc_state_machine::transition(blob_file_gc_event eve const auto& state_transition_map = get_state_transition_map(); auto it = state_transition_map.find({current_state_, event}); if (it == state_transition_map.end()) { + VLOG_LP(log_trace) << "Invalid transition" << to_string(current_state_) << " with event " << to_string(event); throw std::logic_error("Invalid transition: " + to_string(current_state_) + " with event " + to_string(event)); } VLOG_LP(log_trace) << "Transitioned to " << to_string(it->second);