Commit Graph

1478 Commits

Author SHA1 Message Date
Shlomi Noach
90ab2368dd graceful sleep; remove extra debug info 2019-08-11 15:21:04 +03:00
Shlomi Noach
1305ff6e01 debug info 2019-08-11 15:17:48 +03:00
Shlomi Noach
106ca5df3c debug info 2019-08-11 15:12:14 +03:00
Shlomi Noach
b881bff1e8 fixed linter issue 2019-08-11 15:06:03 +03:00
Shlomi Noach
e618682ff9 go1.12 2019-08-11 15:04:04 +03:00
Shlomi Noach
18612b661a name of test 2019-08-11 14:59:22 +03:00
Shlomi Noach
6cfa76d139 adding replica-tests 2019-08-11 14:58:37 +03:00
Shlomi Noach
43ea21c3bb
Initial GitHub CI/CD
GitHub CI/CD is [a thing](https://github.com/features/actions)! We will attempt:

- CI: build + unit test
- replica tests: running `gh-ost` tests on multiple MySQL versions
2019-08-11 14:54:00 +03:00
Shlomi Noach
b38814f90e
Merge pull request #754 from zmoazeni/zmoazeni/bump-localtests-default-retries
Bump default-retries to 3
2019-06-10 16:50:21 +03:00
Zach Moazeni
84fe34b22c
Bump default-retries to 3
There are some legitimate retries that can occur during testing. Namely
`logic.ExpectProcess()` (in `applier.go`). We'll look for a process that
does exist, but timing-wise doesn't have the `state` or `info` columns
populated.

Without this, the test will fail abruptly.
2019-06-10 09:24:03 -04:00
Shlomi Noach
8113d38d57
Merge pull request #723 from github/no-auto-value-on-zero
Always use NO_AUTO_VALUE_ON_ZERO
2019-06-10 16:05:30 +03:00
Shlomi Noach
681458e8f9
Merge branch 'master' into no-auto-value-on-zero 2019-06-10 15:17:39 +03:00
Shlomi Noach
bd47692beb
Merge pull request #736 from github/update-go-sql-driver
Update go-sql-driver/mysql 2019-05-16
2019-06-10 15:17:22 +03:00
Shlomi Noach
b8cdd5d133 Update go-sql-driver/mysql 2019-05-16 2019-05-16 13:29:40 +03:00
Shlomi Noach
226cf03a6d
Merge branch 'master' into no-auto-value-on-zero 2019-05-16 13:23:34 +03:00
Shlomi Noach
ffc6c40150
Merge pull request #726 from jchambers/patch-1
Fix a trivial it's/its typo.
2019-04-14 08:18:29 +03:00
Jon Chambers
256025853c
Fix a trivial it's/its typo. 2019-04-12 12:07:00 -04:00
Shlomi Noach
64db9b6b18
Merge branch 'master' into no-auto-value-on-zero 2019-04-02 13:18:30 +03:00
Shlomi Noach
7cc1817b81
Merge pull request #724 from simonw/patch-1
Clarify it's foreign key /constraints/ that don't work
2019-03-31 06:53:48 +03:00
Simon Willison
773cddc88a
Clarify it's foreign key /constraints/ that don't work 2019-03-29 05:05:40 -07:00
Shlomi Noach
f0ed7aeb0b Always use NO_AUTO_VALUE_ON_ZERO 2019-03-24 11:32:42 +02:00
Shlomi Noach
4d7370529b Always use NO_AUTO_VALUE_ON_ZERO 2019-03-24 11:32:37 +02:00
Shlomi Noach
d6c650837f
Merge pull request #712 from babinomec/skip-strict-mode
add --skip-strict-mode option
2019-03-24 11:13:59 +02:00
Shlomi Noach
7ae32f7184
Merge branch 'master' into skip-strict-mode 2019-03-17 23:49:13 -07:00
Shlomi Noach
2c0aa36251
Merge pull request #695 from github/named-panic
Adding --force-named-panic option
2019-03-11 17:54:02 +02:00
Shlomi Noach
766040d83f
Merge branch 'master' into named-panic 2019-03-06 12:47:06 +02:00
Shlomi Noach
0e3685773a
Merge pull request #716 from RafeKettler/rafe/ssl-crt-key
Improve SSL support
2019-03-06 08:38:11 +02:00
Shlomi Noach
7ead4c4a56 named throttle, no-throttle 2019-02-25 14:02:57 +02:00
Shlomi Noach
ff17d2f844
Merge branch 'master' into named-panic 2019-02-25 14:00:12 +02:00
Rafe Kettler
b4da7cfbfb Improve SSL support
Related issue: https://github.com/github/gh-ost/issues/521

 - Add --ssl-cert and --ssl-key options to specify SSL public/private
   key files
 - Allow combining --ssl-allow-insecure with other --ssl* flags.
   `mysql.RegisterTLSConfig` allows combining the corresponding
   parameters in the `tls.Config` it receives, so gh-ost should
   allow this. I found being able to pass --ssl-allow-insecure along
   with --ssl-ca, --ssl-cert, and --ssl-key useful in testing.
 - Use the same TLS config everywhere. Since the CLI only supports
   a single set of --ssl* configuration parameters, this should be
   fine -- `mysql.RegisterTLSConfig` documentation indicates the
   TLS config given will not be modified, so it can safely be used
   in many goroutines provided we also do not modify it. The previous
   implementation did not work when the TLS config was duplicated,
   which happens when gh-ost walks up the replication chain trying
   to find the master. This is because, when the config is duplicated,
   we must call `RegisterTLSConfig` again with the new config. This
   config is exactly the same, so it's easiest to side-step the issue
   by registering the TLS config once and using it everywhere.
2019-02-22 10:33:19 -08:00
babinomec
7d5749b84a add --skip-strict-mode option 2019-02-14 15:58:49 +01:00
Shlomi Noach
a8fae9818d v1.0.48 2019-02-14 12:07:25 +02:00
Shlomi Noach
8e564debeb
Merge pull request #710 from github/deb-maintainer-email
Adding maintainer email in DEB package
2019-02-14 12:06:18 +02:00
Shlomi Noach
b82fc45221 Adding maintainer email in DEB package 2019-02-12 08:01:47 +02:00
Shlomi Noach
4ff5d6a055
Merge pull request #705 from brandonbodnar-wk/add-tls-support
Initial SSL Connection Support
2019-02-10 15:30:50 +02:00
Shlomi Noach
09ef7f4d24
Merge branch 'master' into add-tls-support 2019-02-10 11:59:27 +02:00
Shlomi Noach
909ef0e222
Merge pull request #707 from github/tests-updates
minor updates to test
2019-02-10 11:59:02 +02:00
Shlomi Noach
1327e3042a
Merge branch 'master' into tests-updates 2019-02-10 11:27:44 +02:00
Shlomi Noach
9da2e21e03
Merge branch 'master' into add-tls-support 2019-02-10 11:27:36 +02:00
Shlomi Noach
b12ac7837f
Merge pull request #703 from github/hints-owner-token
added: --hooks-hint-owner, --hooks-hint-token
2019-02-10 11:27:17 +02:00
Shlomi Noach
c37ea5dea0
Merge branch 'master' into tests-updates 2019-02-10 11:24:19 +02:00
Brandon Bodnar
1543098891 Document ssl-related command line flags. 2019-02-05 08:02:47 -06:00
Brandon Bodnar
5b0dfb009c Wireup allowing insecure ssl 2019-02-04 16:21:25 -06:00
Matt Belisle
79df0d1c5d Adding --ssl-insecure flag 2019-02-04 14:46:08 -06:00
Brandon Bodnar
5319157789 Expand usage statement to indicate setting applies to multiple hosts 2019-02-01 13:20:17 -06:00
Brandon Bodnar
f67ec15f2b Handle returned error 2019-02-01 13:16:54 -06:00
Brandon Bodnar
c440112d44 Explain default setting for TLS param in DSN 2019-01-31 17:23:19 -06:00
Brandon Bodnar
dc599bb036 Remove unnecessary branching 2019-01-31 17:20:11 -06:00
Brandon Bodnar
4f9367e690 Fix casing for initialism 2019-01-31 17:00:13 -06:00
Brandon Bodnar
23617f287f Add initial support for ssl encryption connections to database servers.
- Adding a command line option for users to enforce tls/ssl connections
  for the applier, inspector, and binlog reader.
- The user can optionally request server certificate verification through
  a command line option to specify the ca cert via a file path.
- Fixes an existing bug appending the timeout option to the singleton
  applier connection.
2019-01-31 15:22:03 -06:00