eis/eqpalg
Huamonarch 6ed178b367 Fix: protect update_history_times snapshot restore from DB failures
Three fixes in update_history_times():
1. Wrap DB operations in try-catch — exception no longer skips the
   snapshot restore, preventing permanent loss of accumulated counts
2. Treat get_history_times() -1 return (DB failure) as skip, not as
   "record exists" → no more silent UPDATE on non-existent rows
3. Only call update_static and advance last_load_time_ on success,
   so a failed persist retries on the next cycle instead of waiting
   another rw_time_ minutes
2026-05-13 12:59:16 +08:00
..
.do_not_use Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
alg_json Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
algs Fix: protect update_history_times snapshot restore from DB failures 2026-05-13 12:59:16 +08:00
define Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
doc Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
exp_macro Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
feature_extraction Remove final remaining comment from distribution.h 2026-05-09 13:32:24 +08:00
table_struct Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
threads Fix task thread lifecycle: self-destruct when idle, synchronized cleanup 2026-05-12 17:11:07 +08:00
utility Fix: update_cold must not overwrite SHM stat_values and fetch_mark 2026-05-13 11:22:42 +08:00
alg_base.cpp Fix task thread lifecycle: self-destruct when idle, synchronized cleanup 2026-05-12 17:11:07 +08:00
alg_base.h Split RuleStat display from cold data paths to reduce lock contention 2026-05-12 15:46:01 +08:00
algorithm_manager.cpp Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
algorithm_manager.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
build_algorithm.cpp Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
build_algorithm.h Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
CMakeLists.txt Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
eqpalg_changes_2026-05-12.md Add change documentation for 2026-05-12 eqpalg optimizations 2026-05-12 17:22:34 +08:00
eqpalg_icei.cpp Replace fixed 518MB array in TaskData with dynamic shared-memory vector 2026-05-12 17:19:44 +08:00
eqpalg_icei.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
eqpalg_optimization_notes.md Add eqpalg optimization recommendations document 2026-05-09 13:02:45 +08:00
eqpalg_readme.md Add READMEs for RICS, eqpm, dsm and update eqpalg README with corrections 2026-05-09 11:46:17 +08:00
eqpalg.cpp Remove rm -rf of MapRuleStat_boost.mmap on startup 2026-05-13 09:47:52 +08:00
eqpalg.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
gb_item_memory.cc Remove remaining comments (exp_times, STA.h, gb_item_memory) 2026-05-09 13:31:22 +08:00
gb_item_memory.ccBK Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
gb_item_memory.ccBK2 Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
gb_item_memory.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
gb_item_memory.hBK2 Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
gb_logger.cpp Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
gb_logger.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00