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

shogo82148 / mysql / 6371799644
82%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2023 04:07PM UTC
Jobs 30
Files 19
Run time 2s
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

30 Sep 2023 07:33PM UTC coverage: 82.718% (+0.2%) from 82.534%
6371799644

push

github

web-flow
Close connection on ErrPktSync and ErrPktSyncMul (#1473)

An `ErrPktSync` or `ErrPktSyncMul` error always means that a packet
header has been read, but since the sequence ID was not correct then the
packet payload has not been read. This results in the connection being
left in a broken state, since any future operations will always result
in a "busy buffer" error. Keeping such connections alive leads to them
being repeatedly returned to the pool in this state, which can in turn
result in a large number of failures due to these "busy buffer" errors.

This commit fixes this problem by simply closing the connection before
returning either `ErrPktSync` or `ErrPktSyncMul`. This ensures that the
connection won't be returned to the pool, preventing it from causing any
further errors.

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

97 existing lines in 1 file now uncovered.

3068 of 3709 relevant lines covered (82.72%)

1359415.08 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
97
82.88
0.45% packets.go
Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.21-DB-mariadb-10.11 - 6371799644.1 01 Oct 2023 04:09PM UTC 17
82.45
GitHub Action Run
2 Windows-Go-1.21-DB-8.0 - 6371799644.2 01 Oct 2023 04:10PM UTC 17
82.17
GitHub Action Run
3 Linux-Go-1.20-DB-8.1 - 6371799644.3 01 Oct 2023 04:08PM UTC 17
82.48
GitHub Action Run
4 Linux-Go-1.21-DB-8.0 - 6371799644.4 01 Oct 2023 04:08PM UTC 17
82.48
GitHub Action Run
5 Linux-Go-1.21-DB-mariadb-10.4 - 6371799644.5 01 Oct 2023 04:09PM UTC 17
82.45
GitHub Action Run
6 Windows-Go-1.21-DB-5.6 - 6371799644.6 01 Oct 2023 04:09PM UTC 17
82.17
GitHub Action Run
7 Linux-Go-1.21-DB-mariadb-10.3 - 6371799644.7 01 Oct 2023 04:09PM UTC 17
82.45
GitHub Action Run
8 macOS-Go-1.21-DB-mariadb-10.6 - 6371799644.8 01 Oct 2023 04:20PM UTC 17
82.34
GitHub Action Run
9 macOS-Go-1.21-DB-8.1 - 6371799644.9 01 Oct 2023 04:20PM UTC 17
82.37
GitHub Action Run
10 Linux-Go-1.21-DB-5.6 - 6371799644.10 01 Oct 2023 04:08PM UTC 17
82.45
GitHub Action Run
11 Linux-Go-1.21-DB-mariadb-10.5 - 6371799644.11 01 Oct 2023 04:09PM UTC 17
82.45
GitHub Action Run
12 Linux-Go-1.19-DB-8.1 - 6371799644.12 01 Oct 2023 04:07PM UTC 17
82.48
GitHub Action Run
13 Linux-Go-1.18-DB-8.1 - 6371799644.13 01 Oct 2023 04:07PM UTC 18
82.54
GitHub Action Run
14 Linux-Go-1.21-DB-8.1 - 6371799644.14 01 Oct 2023 04:08PM UTC 17
82.48
GitHub Action Run
15 Linux-Go-1.21-DB-5.7 - 6371799644.15 01 Oct 2023 04:08PM UTC 17
82.5
GitHub Action Run
16 Linux-Go-1.21-DB-mariadb-10.6 - 6371799644.16 01 Oct 2023 04:09PM UTC 17
82.45
GitHub Action Run
17 Windows-Go-1.21-DB-5.7 - 6371799644.17 01 Oct 2023 04:09PM UTC 17
82.17
GitHub Action Run
18 Windows-Go-1.21-DB-8.1 - 6371799644.18 01 Oct 2023 04:11PM UTC 17
82.22
GitHub Action Run
19 Windows-Go-1.21-DB-mariadb-10.11 - 6371799644.19 01 Oct 2023 04:12PM UTC 17
82.22
GitHub Action Run
20 Windows-Go-1.21-DB-mariadb-10.3 - 6371799644.20 01 Oct 2023 04:12PM UTC 17
82.17
GitHub Action Run
21 macOS-Go-1.21-DB-8.0 - 6371799644.21 01 Oct 2023 04:20PM UTC 17
82.37
GitHub Action Run
22 Windows-Go-1.21-DB-mariadb-10.6 - 6371799644.22 01 Oct 2023 04:11PM UTC 17
82.17
GitHub Action Run
23 Windows-Go-1.21-DB-mariadb-10.5 - 6371799644.23 01 Oct 2023 04:11PM UTC 17
82.22
GitHub Action Run
24 Windows-Go-1.21-DB-mariadb-10.4 - 6371799644.24 01 Oct 2023 04:11PM UTC 17
82.17
GitHub Action Run
25 macOS-Go-1.21-DB-mariadb-10.5 - 6371799644.25 01 Oct 2023 04:23PM UTC 17
82.34
GitHub Action Run
26 macOS-Go-1.21-DB-5.6 - 6371799644.26 01 Oct 2023 04:15PM UTC 17
82.34
GitHub Action Run
27 macOS-Go-1.21-DB-mariadb-10.3 - 6371799644.27 01 Oct 2023 04:21PM UTC 17
82.34
GitHub Action Run
28 macOS-Go-1.21-DB-mariadb-10.4 - 6371799644.28 01 Oct 2023 04:23PM UTC 17
82.34
GitHub Action Run
29 macOS-Go-1.21-DB-5.7 - 6371799644.29 01 Oct 2023 04:20PM UTC 17
82.34
GitHub Action Run
30 macOS-Go-1.21-DB-mariadb-10.11 - 6371799644.30 01 Oct 2023 04:22PM UTC 17
82.34
GitHub Action Run
Source Files on build 6371799644
  • Tree
  • List 19
  • Changed 12
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 19171b59 on github
  • Prev Build on master (#6185780018)
  • Next Build on master (#6424286039)
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