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

tarantool / tarantool / 9001074088
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/grants
DEFAULT BRANCH: master
Ran 08 May 2024 11:47AM UTC
Jobs 1
Files 479
Run time 2min
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

08 May 2024 11:31AM UTC coverage: 85.813% (+0.01%) from 85.801%
9001074088

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

(cherry picked from commit f7e6686a4)

62598 of 113808 branches covered (55.0%)

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

37 existing lines in 11 files now uncovered.

93479 of 108933 relevant lines covered (85.81%)

2585394.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9001074088.1 08 May 2024 11:47AM UTC 0
85.81
GitHub Action Run
Source Files on build 9001074088
Detailed source file information is not available for this build.
  • Back to Repo
  • df6988e6 on github
  • Prev Build on release/2.11 (#8833578456)
  • Next Build on release/2.11 (#9080419927)
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