journal: broadcast box.wal_error event on write error
Closes #9405 @TarantoolBot document Title: Document then new built-in system event `box.wal_error` The new event is broadcast whenever Tarantool fails to commit a transaction to the write-ahead log (WAL), which usually means there's a problem with the underlying disk storage. The new event's payload is a table that currently contains the only field `count` that stores the number of WAL errors happened so far or nil if there hasn't been any WAL errors.
Showing
- changelogs/unreleased/gh-9405-wal-error-event.md 5 additions, 0 deletionschangelogs/unreleased/gh-9405-wal-error-event.md
- src/box/box.cc 1 addition, 0 deletionssrc/box/box.cc
- src/box/journal.c 6 additions, 1 deletionsrc/box/journal.c
- test/box-luatest/gh_9405_wal_error_event_test.lua 53 additions, 0 deletionstest/box-luatest/gh_9405_wal_error_event_test.lua
Loading
Please register or sign in to comment