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

tarantool / tarantool / 5132905768
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh-12343
DEFAULT BRANCH: master
Ran 31 May 2023 12:52PM UTC
Jobs 1
Files 476
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 May 2023 12:21PM UTC coverage: 85.683% (+0.06%) from 85.625%
5132905768

push

github

sergepetrenko
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

Jobs
ID Job ID Ran Files Coverage
1 5132905768.1 31 May 2023 12:52PM UTC 0
85.68
GitHub Action Run
Source Files on build 5132905768
Detailed source file information is not available for this build.
  • Back to Repo
  • 37662a8a on github
  • Prev Build on release/2.11 (#5111378357)
  • Next Build on release/2.11 (#5141646089)
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