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

tarantool / tarantool / 9001072281
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: export-tuple-to-app-threads
DEFAULT BRANCH: master
Ran 08 May 2024 11:41AM 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

08 May 2024 11:31AM UTC coverage: 87.045% (-0.005%) from 87.05%
9001072281

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)

67322 of 119815 branches covered (56.19%)

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

48 existing lines in 20 files now uncovered.

100041 of 114930 relevant lines covered (87.05%)

2437320.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9001072281.1 08 May 2024 11:41AM UTC 0
87.05
GitHub Action Run
Source Files on build 9001072281
Detailed source file information is not available for this build.
  • Back to Repo
  • ca39de75 on github
  • Prev Build on release/3.1 (#8817162900)
  • Next Build on release/3.1 (#9080396049)
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