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

tarantool / tarantool / 14220013346

02 Apr 2025 12:47PM UTC coverage: 86.083% (-0.008%) from 86.091%
14220013346

push

github

locker
say: do not close stderr at exit

We must not close stderr because it's used for reporting crashes and
memory leaks, but if the logger is configured to log to stderr, it's
closed at exit. Let's fix it.

While we are at it, let's also remove usage of `pm_atomic_store()` and
`pm_atomic_load()` for updating `log::type` because it makes no sense.

The bug was introduced by commit 6d7437dae2dfc ("say: Add several
loggers support").

Close #11323

NO_DOC=bug fix
NO_CHANGELOG=relevant only to developers

(cherry picked from commit 8e0da9f47)

63532 of 114872 branches covered (55.31%)

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

26 existing lines in 7 files now uncovered.

94449 of 109718 relevant lines covered (86.08%)

1899977.49 hits per line

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

95.85
/src/box/lua/init.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