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

tarantool / tarantool / 20974954615

13 Jan 2026 10:30PM UTC coverage: 87.538% (-0.01%) from 87.551%
20974954615

push

github

Gerold103
box: wait for rw state in promote

Previously, `box.ctl.promote()` returned immediately after the
instance became the Raft leader. However, the instance could still be
read-only if it had not yet claimed the synchronous transaction
queue.

This behavior forced users to manually wait for writability after
promotion to avoid errors.

This patch ensures `box.ctl.promote()` waits until the instance is
no longer read-only before returning.

Closes #10040

NO_DOC=bugfix

(cherry picked from commit 83e127968)

68756 of 116390 branches covered (59.07%)

4 of 4 new or added lines in 1 file covered. (100.0%)

34 existing lines in 17 files now uncovered.

103489 of 118222 relevant lines covered (87.54%)

1619051.51 hits per line

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

90.63
/src/box/engine.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