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

tarantool / tarantool / 8860528877
88%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2024 02:38PM UTC
Jobs 1
Files 513
Run time 1min
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

27 Apr 2024 02:28PM UTC coverage: 87.094% (+0.02%) from 87.07%
8860528877

push

github

sergepetrenko
relay: fix timeout on large xlog subscribe start

When a replica subscribes, it might in the beginning try to
position its reader cursor to the end of a large xlog file.

Positioning inside of this file can take significant time during
which the WAL reader yielded and tried to send heartbeats, but
couldn't, because the relay thread wasn't communicating with the
TX thread.

When there are no messages from TX for too long time, the
heartbeats to the replica are not being sent
(commit 56571d831 ("raft: make
followers notice leader hang")).

The relay must communicate with the TX thread even when subscribe
is just being started and opens a large xlog file.

This isn't the first time when the missing heartbeats result into
timeouts. See more here:

- commit 30ad4a554 ("relay: yield
    explicitly every N sent rows").

- commit 17289440b ("recovery: make
    it yield when positioning in a WAL").

- commit ee6de025f ("relay: send
    heartbeats while reading a WAL").

Given that this is fixed fourth time, it might suggest that the
relay has not the best architecture having some slight drawbacks.
See more in #9968.

Closes #9094

NO_DOC=bugfix

67400 of 119829 branches covered (56.25%)

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

20 existing lines in 9 files now uncovered.

100132 of 114970 relevant lines covered (87.09%)

2439346.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8860528877.1 27 Apr 2024 02:38PM UTC 0
87.09
GitHub Action Run
Source Files on build 8860528877
Detailed source file information is not available for this build.
  • Back to Repo
  • f7e6686a on github
  • Prev Build on master (#8859387946)
  • Next Build on master (#8923228744)
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