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

tarantool / tarantool / 5132743525
88%

Build:
DEFAULT BRANCH: master
Ran 31 May 2023 12:41PM UTC
Jobs 1
Files 486
Run time 8s
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:41PM UTC coverage: 85.764% (+0.007%) from 85.757%
5132743525

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

62878 of 115332 branches covered (54.52%)

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

94434 of 110109 relevant lines covered (85.76%)

2970314.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5132743525.1 31 May 2023 12:41PM UTC 0
85.76
GitHub Action Run
Source Files on build 5132743525
Detailed source file information is not available for this build.
  • Back to Repo
  • 0ef5e3b2 on github
  • Prev Build on master (#5131899695)
  • Next Build on master (#5141534648)
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