设备创新后台
Go to file
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
.vscode Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
cmake_include Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
config Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
dsm Add READMEs for RICS, eqpm, dsm and update eqpalg README with corrections 2026-05-09 11:46:17 +08:00
eqpalg Fix: protect update_history_times snapshot restore from DB failures 2026-05-13 12:59:16 +08:00
eqpm Add READMEs for RICS, eqpm, dsm and update eqpalg README with corrections 2026-05-09 11:46:17 +08:00
inc Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
mix_cc Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
py Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
RICS Add READMEs for RICS, eqpm, dsm and update eqpalg README with corrections 2026-05-09 11:46:17 +08:00
script/table Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
shm Fix: update_cold must not overwrite SHM stat_values and fetch_mark 2026-05-13 11:22:42 +08:00
src Add READMEs for all infrastructure services and overall project 2026-05-09 12:13:00 +08:00
TestProject Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
third_party Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
.gitignore Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
EIS_README.md Add READMEs for all infrastructure services and overall project 2026-05-09 12:13:00 +08:00