|
Ran
|
Jobs
1
|
Files
476
|
Run time
7s
|
Badge
README BADGES
|
push
github
replication: fix crash on access to a not yet ready relay All the code outside of relay.cc judges about relay's liveliness looking only at relay state. When relay->state is RELAY_FOLLOW, the relay is considered operational. This is not always true: for example, both relay_push_raft() and relay_trigger_vclock_sync() are only possible after relay thread pairs with tx via the cbus. This happens **after** the relay enters RELAY_FOLLOW state. Fix the possible access to uninitialized cpipe by relay_trigger_vclock_sync(): make it a nop until the relay is paired with tx. Closes #7991 NO_DOC=bugfix NO_TEST=covered by replication-luatest/linearizable_test.lua (cherry picked from commit 0ef5e3b22)
62002 of 114080 branches covered (54.35%)
93059 of 108609 relevant lines covered (85.68%)
2997030.61 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 5132905768.1 | 0 |
85.68 |
GitHub Action Run |