Граф коммитов

3152 Коммитов

Автор SHA1 Сообщение Дата
Liang Guo 5fdfe92545 Fix topology.py bug 2014-08-08 20:56:38 -07:00
Alain Jobart 000d280c98 Merge branch 'master' into replication 2014-08-08 15:52:50 -07:00
Alain Jobart abd4af45a8 Merge branch 'master' of github.com:youtube/vitess 2014-08-08 15:52:37 -07:00
Alain Jobart 58339ce829 Healthcheck shouldn't start query service with filtered replication.
changeCallback is correct, but if healthcheck is enabled, it was
starting query service.

Also adding tests to double-check it works as expected for
vertical splits and resharding.
2014-08-08 15:20:20 -07:00
Liang Guo c48a263773 Merge branch 'liguo' 2014-08-08 14:39:55 -07:00
Alain Jobart 07926a86c9 Fixing a log that's too verbose. 2014-08-08 14:25:36 -07:00
Liang Guo 88075960c8 Fix keyspace_test 2014-08-08 14:11:35 -07:00
Alain Jobart 0953b4d27a Fixing display of served types.
It's easier to just use what we need, instead of some
random obscure way of getting the wrong data.
2014-08-08 13:26:47 -07:00
Liang Guo b906aad2db Do not use obsolete SrvKeyspace.Shards 2014-08-08 12:16:19 -07:00
Alain Jobart 7967aadd00 Adding a flag to delay rebuilding serving graph.
Useful for doing one cell at a time.
2014-08-08 11:34:29 -07:00
Alain Jobart b64570b55e Merge branch 'master' of github.com:youtube/vitess 2014-08-08 09:45:48 -07:00
Alain Jobart 77303ad97c Reducing log in primecache. 2014-08-08 09:42:37 -07:00
sougou f25347ce07 Merge pull request #71 from plobsing/no-sync
remove no-op synchronisation in executeCallbacksLoop
2014-08-07 22:48:48 -07:00
Sugu Sougoumarane 79a3174c43 Merge branch 'rowcache' 2014-08-07 14:31:17 -07:00
Sugu Sougoumarane 5a084e0291 sqlparser: drop obsolete GetDBName 2014-08-07 14:27:45 -07:00
Sugu Sougoumarane 3142e5b376 rowcache_invalidator: improved handling of unknown statements
Changed the invalidator to treat a DML as a DDL if it can recognize the
table name. This is slightly aggressive, but will raise less alarms.
It's a good trade-off since unrecognized DMLs must be rare.
2014-08-07 14:20:36 -07:00
Liang Guo a1d1545769 Include vtgatev2 test in integration test 2014-08-07 11:34:57 -07:00
Liang Guo a10118cf8b Merge branch 'master' of https://github.com/youtube/vitess 2014-08-07 10:59:49 -07:00
Alain Jobart a806007498 Merge branch 'master' of github.com:youtube/vitess 2014-08-07 10:31:58 -07:00
Alain Jobart 21ba763c00 Stopping and restarting replication around multirestore. 2014-08-07 10:12:20 -07:00
Alain Jobart 5b64118571 One extra test case. 2014-08-07 09:59:49 -07:00
Sugu Sougoumarane a8014af705 rowcache: invalidation stats label counts->tables 2014-08-07 07:28:08 -07:00
Sugu Sougoumarane 08cff5cca7 binlog_streamer: wait indefinitely on logfile rotation
Sometimes, it takes a while for MySQL to create the new binlog file.
So, it's better to wait indefinitely for it. Also, wait only if it's
actually a file not found error.
2014-08-07 07:12:10 -07:00
Liang Guo 8bb9accbbd Add an integration test for VTGate V2 2014-08-06 15:32:30 -07:00
Anthony Yeh 22bce36635 Fix all govet issues in preparation for govet presubmit. 2014-08-06 12:14:44 -07:00
Anthony Yeh 889a1682ff Add "go vet" as a presubmit and use goimports instead of gofmt. 2014-08-06 12:07:50 -07:00
Alain Jobart c3f964c41b Merge branch 'master' of github.com:youtube/vitess 2014-08-06 10:32:43 -07:00
Alain Jobart f9d6048734 Fixing error message. 2014-08-06 10:32:23 -07:00
Anthony Yeh 79e2159a12 Raise a compile error for implicit declarations in CGO. 2014-08-06 10:29:37 -07:00
Alain Jobart a8e25ab7c7 Adding a check to ShardMultiRestore. 2014-08-06 09:55:54 -07:00
Alain Jobart a0b4b67be0 Adding extra headers so compiler has them. 2014-08-06 09:55:24 -07:00
Alain Jobart 00cc5f5a91 StopSlaveMinimum now actually stops the slave.
Instead of just waiting for a minimum position.
2014-08-05 19:39:28 -07:00
Anthony Yeh 2fc9f65e46 Add low-level MySQL command functions to libmysqlclient wrapper. 2014-08-05 12:01:08 -07:00
Anthony Yeh 221e2abebc Turn BinlogStreamer into an interface. 2014-08-05 11:50:25 -07:00
Anthony Yeh 95277c9fb4 Run goimports. 2014-08-05 11:50:25 -07:00
Alain Jobart 8ccd3b8c85 Fixing RebuildKeyspaceGraph to support empty cells.
The logic was failing when a SvrShard doesn't exist.
We need to instead use an empty SvrShard (based on the Shard)
with an empty TabletTypes list.

Since the Shard objects might have just been updated (and not
propagated to local copy of global topo server), put them in a cache
so we don't re-read them.
2014-08-04 15:46:26 -07:00
Anthony Yeh 5600a7af64 Port fix for stdin support in mysqlbinlog from MariaDB to Google MySQL. 2014-08-01 16:50:56 -07:00
Peter Lobsinger 37fc56bf27 remove no-op synchronisation in executeCallbacksLoop
There's a lot of ceremony there, but if you look hard enough, you'll see
that there really isn't much guaranteed by doing so.
2014-08-01 00:37:34 -07:00
Liang Guo 4a40a69088 Merge branch 'master' into liguo 2014-07-31 16:30:30 -07:00
Liang Guo 3d8e5395d4 Do not log duplicate key error in VTGate 2014-07-31 16:28:59 -07:00
Liang Guo 537c5b1cb8 Merge branch 'master' of https://github.com/youtube/vitess 2014-07-30 12:26:46 -07:00
Liang Guo 0cf6465b52 Fix VTGate remote master 2014-07-30 12:16:47 -07:00
Sugu Sougoumarane 7f693c8588 Merge branch 'vtocc' 2014-07-29 22:19:03 -07:00
Anthony Yeh 65877280e1 Merge branch 'master' into gtid 2014-07-29 15:45:21 -07:00
Liang Guo bf3fa63cd0 Merge branch 'master' into liguo 2014-07-29 15:40:22 -07:00
Liang Guo 8e09f2f23c Fix unit test and add comment 2014-07-29 15:39:07 -07:00
Liang Guo 7dd13a6e22 Merge branch 'master' of https://github.com/youtube/vitess 2014-07-29 14:53:04 -07:00
Liang Guo 2df02b4d37 Fix to unit test 2014-07-29 14:51:45 -07:00
Anand Henry c46e6cd775 Fix nocache_tests.test_query_timeout 2014-07-29 13:39:00 -07:00
Sugu Sougoumarane 708c3aeabc queryservice: treat schema load failures as fatal 2014-07-29 13:13:13 -07:00