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

tarantool / tarantool / 20351793401

18 Dec 2025 09:24PM UTC coverage: 87.644% (+0.005%) from 87.639%
20351793401

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

70278 of 118264 branches covered (59.42%)

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

25 existing lines in 11 files now uncovered.

105608 of 120497 relevant lines covered (87.64%)

1387445.35 hits per line

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

95.83
/src/box/replication.cc


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