push
github
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