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

canonical / go-dqlite
51%
master: 51%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/v3/golang.org/x/sys-0.39.0
DEFAULT BRANCH: master
Repo Added 24 Aug 2019 03:36PM UTC
Files 42
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

LAST BUILD ON BRANCH v3.0.1
branch: v3.0.1
CHANGE BRANCH
x
Reset
  • v3.0.1
  • add-security-scan
  • add-testing-on-unstable
  • add-tiobe-scan
  • allow-removal-for-disk-mode
  • bump-CI-versions-v3
  • bump-gh-artifacts
  • busy-timeout
  • cli-dump
  • cole-miller-patch-1
  • dependabot/github_actions/master/actions/checkout-4
  • dependabot/github_actions/master/actions/setup-go-5
  • dependabot/github_actions/master/actions/upload-artifact-4
  • dependabot/github_actions/master/canonical/has-signed-canonical-cla-2
  • dependabot/github_actions/v3/actions/checkout-5
  • dependabot/github_actions/v3/actions/checkout-6
  • dependabot/github_actions/v3/actions/setup-go-6
  • dependabot/github_actions/v3/actions/upload-artifact-5
  • dependabot/go_modules/golang.org/x/sys-0.1.0
  • dependabot/go_modules/master/github.com/Rican7/retry-0.3.1
  • dependabot/go_modules/master/github.com/mattn/go-sqlite3-1.14.23
  • dependabot/go_modules/master/github.com/mattn/go-sqlite3-1.14.24
  • dependabot/go_modules/master/github.com/mattn/go-sqlite3-1.14.28
  • dependabot/go_modules/master/github.com/peterh/liner-1.2.2
  • dependabot/go_modules/master/github.com/spf13/cobra-1.8.1
  • dependabot/go_modules/master/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/master/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/master/github.com/stretchr/testify-1.9.0
  • dependabot/go_modules/master/golang.org/x/sync-0.10.0
  • dependabot/go_modules/master/golang.org/x/sync-0.11.0
  • dependabot/go_modules/master/golang.org/x/sync-0.14.0
  • dependabot/go_modules/master/golang.org/x/sync-0.8.0
  • dependabot/go_modules/master/golang.org/x/sync-0.9.0
  • dependabot/go_modules/master/golang.org/x/sys-0.25.0
  • dependabot/go_modules/master/golang.org/x/sys-0.26.0
  • dependabot/go_modules/master/golang.org/x/sys-0.27.0
  • dependabot/go_modules/master/golang.org/x/sys-0.28.0
  • dependabot/go_modules/master/golang.org/x/sys-0.29.0
  • dependabot/go_modules/master/golang.org/x/sys-0.30.0
  • dependabot/go_modules/master/golang.org/x/sys-0.31.0
  • dependabot/go_modules/master/golang.org/x/sys-0.33.0
  • dependabot/go_modules/v3/github.com/mattn/go-sqlite3-1.14.32
  • dependabot/go_modules/v3/github.com/spf13/cobra-1.10.1
  • dependabot/go_modules/v3/github.com/spf13/cobra-1.10.2
  • dependabot/go_modules/v3/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/v3/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/v3/golang.org/x/sync-0.16.0
  • dependabot/go_modules/v3/golang.org/x/sync-0.17.0
  • dependabot/go_modules/v3/golang.org/x/sync-0.18.0
  • dependabot/go_modules/v3/golang.org/x/sync-0.19.0
  • dependabot/go_modules/v3/golang.org/x/sys-0.35.0
  • dependabot/go_modules/v3/golang.org/x/sys-0.36.0
  • dependabot/go_modules/v3/golang.org/x/sys-0.37.0
  • dependabot/go_modules/v3/golang.org/x/sys-0.38.0
  • dependabot/go_modules/v3/golang.org/x/sys-0.39.0
  • deprecate-single-thread
  • fix-build-1.17
  • fix-build-workflow
  • fix-dependabot-target
  • fix-dump-command
  • fix-tests
  • fix/v2/ctx-timeout
  • investigate-nrows
  • master
  • modernize
  • modernize-bis
  • new-snapshot-parameter
  • packaging-improvements
  • puffin
  • refs/tags/v1.10.0
  • refs/tags/v1.10.1
  • refs/tags/v1.10.2
  • refs/tags/v1.11.0
  • refs/tags/v1.11.1
  • refs/tags/v1.11.2
  • refs/tags/v1.11.3
  • refs/tags/v1.11.4
  • refs/tags/v1.11.5
  • refs/tags/v1.11.6
  • refs/tags/v1.11.7
  • refs/tags/v1.11.8
  • refs/tags/v1.11.8-pre
  • refs/tags/v1.11.9
  • refs/tags/v1.18.0
  • refs/tags/v1.20.0
  • refs/tags/v1.21.0
  • refs/tags/v1.22.0
  • refs/tags/v1.9.0
  • renovate/configure
  • revert-214-disk-mode
  • snapshot-params
  • stmt-fixes-v1.22
  • test-mathieu
  • upgrade-runners
  • v1.0.0
  • v1.1.0
  • v1.2.0
  • v1.3.0
  • v1.4.0
  • v1.4.1
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v1.6.0
  • v1.7.0
  • v1.7.1
  • v1.8.0
  • v1.99.99
  • v1.99.99-rc1
  • v2
  • v2.0.1
  • v3
  • v3.0.0
  • v3.0.2
  • v3.0.3

03 Jun 2025 10:25AM UTC coverage: 50.707%. First build
15491033221

push

github

just-now
fix: parent context timeout is now propagated to dialContext

A new Context object was previously created for dialContext without
associating it with the top-level context. As a result, timeouts from
the top-level context were not propagated, causing ErrNoAvailableLeader errors.

The issue has been resolved by deriving dialContext from the parent context,
ensuring proper timeout and cancellation propagation.

Steps to reproduce the bug before the current commit:
 - Run dqlite demo cluster

   dqlite-demo --api 127.0.0.1:8001 --db 127.0.0.1:9001
   dqlite-demo --api 127.0.0.1:8002 --db 127.0.0.1:9002 --join 127.0.0.1:9001
   dqlite-demo --api 127.0.0.1:8003 --db 127.0.0.1:9003 --join 127.0.0.1:9001

 - Partition out the leader from the cluster

   sudo iptables -A INPUT -p tcp --sport 9001 -j DROP
   sudo iptables -A INPUT -p tcp --sport 8001 -j DROP

 - Run dqlite client to query the leader

   dqlite -s file://cluster.yaml demo .leader

3 of 4 new or added lines in 1 file covered. (75.0%)

2440 of 4812 relevant lines covered (50.71%)

3667.69 hits per line

Relevant lines Covered
Build:
Build:
4812 RELEVANT LINES 2440 COVERED LINES
3667.69 HITS PER LINE
Source Files on v3.0.1
  • Tree
  • List 41
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15491033221 v3.0.1 fix: parent context timeout is now propagated to dialContext A new Context object was previously created for dialContext without associating it with the top-level context. As a result, timeouts from the top-level context were not propagated, caus... push 06 Jun 2025 01:03PM UTC just-now github
50.71
See All Builds (748)
  • Repo on GitHub
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

© 2025 Coveralls, Inc