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

tarantool / tarantool / 13996423058

21 Mar 2025 04:30PM UTC coverage: 87.387% (+0.009%) from 87.378%
13996423058

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)

68847 of 122097 branches covered (56.39%)

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

23 existing lines in 10 files now uncovered.

101517 of 116169 relevant lines covered (87.39%)

1960939.23 hits per line

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

94.11
/src/lua/fiber.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