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

tarantool / crud / 27510432024
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fix/read-only-operations-with-dead-masters
DEFAULT BRANCH: master
Ran 14 Jun 2026 08:28PM UTC
Jobs 1
Files 66
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

14 Jun 2026 07:56PM UTC coverage: 88.27% (-0.08%) from 88.349%
27510432024

Pull #497

github

p0rtale
fix: allow read-only operations when all masters are down

Read-only operations (get, select, pairs, count, len, min, max) used to
fail with connection errors if all masters in the cluster were unavailable,
even when healthy replicas were up and failover hadn't processed yet.

To resolve this, the following improvements were made:
- Introduced a `read_only` flag to `utils.get_space[s]` to fetch cluster
  schema from any healthy replica if masters are down.
- Updated `get`, `select`, `pairs`, `count`, `len`, `min`, `max` to use
  this new flag.
- Rewrote `call.any` to iterate through all replicasets and utilize
  vshard's `callro` instead of `call` to fetch metadata from replicas.
- Added support for `mode`, `balance`, `prefer_replica`, and `request_timeout`
  options in `crud.len`. The default mode remains `write` to preserve
  backward compatibility.
Pull Request #497: fix: allow read-only operations when all masters are down

57 of 59 new or added lines in 16 files covered. (96.61%)

7 existing lines in 2 files now uncovered.

5275 of 5976 relevant lines covered (88.27%)

12521.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.86
-0.68% crud/common/utils.lua

Coverage Regressions

Lines Coverage ∆ File
5
86.86
-0.68% crud/common/utils.lua
2
84.11
-1.13% crud/common/call.lua
Jobs
ID Job ID Ran Files Coverage
1 27510432024.1 14 Jun 2026 08:28PM UTC 66
88.27
GitHub Action Run
Source Files on build 27510432024
  • Tree
  • List 66
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #497
  • PR Base - master (#26749305775)
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