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

tarantool / tarantool / 13990957772

21 Mar 2025 11:41AM UTC coverage: 87.462% (+0.006%) from 87.456%
13990957772

push

github

sergepetrenko
box: handle cancelling fiber waiting in WAL queue

Currently if fiber waiting in WAL queue is cancelled it will go on
writing request to WAL breaking queue order. So WAL is corrupted so that
even next Tarantool restart may fail. Unfortunately we cancel fibers on
Tarantool shutdown so the issue may arise just buy terminating Tarantool
instance.

Let's instead fail the cancelled request and all the newer request in
the queue.

Work around is to disable WAL queue by `box.cfg{wal_queue_max_size = 0}`
so that only one write request can be in the queue.

Closes #11078

NO_DOC=bugfix

(cherry picked from commit def445684)

69876 of 123751 branches covered (56.46%)

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

28 existing lines in 14 files now uncovered.

102902 of 117653 relevant lines covered (87.46%)

2168546.93 hits per line

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

86.49
/src/box/lua/ctl.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