• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 14214174344

02 Apr 2025 07:37AM UTC coverage: 87.47% (-0.02%) from 87.486%
14214174344

push

github

locker
box: check if iterator was created when loading WAL GC consumers

We load WAL GC consumers right after recovery - it is done by iterating
over space `_gc_consumers`. However, we forgot to check if the iterator
is successfully created, hence, in the case of OOM right after recovery,
Tarantool will crash because iterator is NULL. The commit adds the
check. Along the way, let's log an explanatory message when we fail to
load consumers to make the problem clear. Also, this message will allow
us to write a more stable test.

Closes tarantool/security#135

NO_CHANGELOG=barely reproducible by user
NO_DOC=bugfix

(cherry picked from commit 6c7827a0b)

69944 of 123821 branches covered (56.49%)

4 of 4 new or added lines in 2 files covered. (100.0%)

48 existing lines in 16 files now uncovered.

102950 of 117698 relevant lines covered (87.47%)

2186597.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.3
/src/cpu_feature.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc