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

samsarahq / thunder / 2182
62%
master: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/client/ua-parser-js-0.7.33
DEFAULT BRANCH: master
Ran 07 Nov 2019 12:41AM UTC
Jobs 1
Files 49
Run time 3s
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

07 Nov 2019 12:38AM UTC coverage: 62.206% (+0.005%) from 62.201%
2182

Pull #334

travis-ci

web-flow
go livesql/binlog: set Localhost in binlogSyncerConfig

This sets the hostname of the slave hosts to be "localhost". If unset,
as it was, it will use the os.Hostname() value as the hostname instead.

In rare situations, the OS's hostname could be too long for the slave
host's "host" field, and we got an error like:

  panic: ERROR 1105 (HY000): Failed to register slave: too long 'report-host'

which would crash the server.

Before this change:
mysql> show slave hosts;
+------------+--------------------------+------+-----------+------------+
| Server_id  | Host                     | Port | Master_id | Slave_UUID |
+------------+--------------------------+------+-----------+------------+
| 2926146535 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 4101280766 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
|  738891311 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 3490062834 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 3176772553 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
|  985189460 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 4240725287 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 2752132824 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 3221796892 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
| 3038601891 | Arthur-Huang-MacBook-Pro | 3308 |         1 |            |
+------------+--------------------------+------+-----------+------------+

After this change:
mysql> show slave hosts;
+------------+-----------+------+-----------+------------+
| Server_id  | Host      | Port | Master_id | Slave_UUID |
+------------+-----------+------+-----------+------------+
|  186920018 | localhost | 3308 |         1 |            |
| 2071718504 | localhost | 3308 |         1 |            |
| 3278845420 | localhost | 3308 |         1 |            |
| 2121800266 | localhost | 3308 |         1 |            |
| 3721418580 | loc... (continued)
Pull Request #334: go livesql/binlog: set Localhost in binlogSyncerConfig

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

4342 of 6980 relevant lines covered (62.21%)

14429.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2182.1 07 Nov 2019 12:41AM UTC 0
62.21
Travis Job 2182.1
Source Files on build 2182
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2182
  • Pull Request #334
  • PR Base - master (#2139)
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