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

475 Коммитов

Автор SHA1 Сообщение Дата
Alain Jobart 5ed0d42a60 Using time.Second more extensivily.
LGTM Sugu.
2012-12-10 12:04:42 -08:00
Alain Jobart 6c2b371f75 Test script clean up.
LGTM Mike.
2012-12-07 12:29:47 -08:00
Sugu Sougoumarane 6d6ce8d1de handle ON clause and sub-selects for generating impossible where clauses 2012-12-07 10:18:32 -08:00
Mike Solomon c0c980cf4c add list of valid slave types to ChangeSlaveType help 2012-12-06 14:23:50 -08:00
Alain Jobart d9a14e785e Fixing ChangeType to rebuild the graphs if a tablet starts serving.
LGTM Mike.
2012-12-06 12:28:25 -08:00
Alain Jobart 882598740f Making zkocc process management and logging better in tests.
LGTM Mike.
2012-12-06 11:31:48 -08:00
Mike Solomon bf7e1ccd3c trim the fat from keyspace records in the serving graph
implement loading in the demo client
fix test cases to reflect the change in MaxKey
2012-12-06 00:58:22 -08:00
Mike Solomon 6de7457188 adding a lock wait timeout option for all complex wrangler actions 2012-12-05 18:12:13 -08:00
Alain Jobart d594fae238 Fixing a corner case in ExportZknsForKeyspace, and adding a test case for it.
LGTM Mike.
2012-12-05 17:12:58 -08:00
Sugu Sougoumarane 5c26bf56ae improved state and panic reporting 2012-12-05 16:57:03 -08:00
Alain Jobart 49960d4cd4 Fixing this file from last check-in, oops. 2012-12-05 16:19:59 -08:00
Alain Jobart f306c08c22 Configurable timeout for zk conns, and passing zk flags from vttablet to vtaction.
LGTM Mike.
2012-12-05 16:15:47 -08:00
Sugu Sougoumarane 4dab186aca use a more predictable scheme of obtaining field info for selects 2012-12-05 15:22:24 -08:00
Alain Jobart 8c198382d4 vtctl ScrapTablet will now rebuild graphs, unless -skip-rebuild is specified.
LGTM Mike.
2012-12-05 14:53:59 -08:00
Alain Jobart b9b3459072 Parameterizing a few values, and fixing mysqlctl command line parsing.
LGTM Mike.
2012-12-05 14:50:12 -08:00
Alain Jobart 43ca0b56e9 Adding doc to zkocc.py. It's the simplest way to document
the dicts returned by the RPCs.

LGTM Mike / Sugu.
2012-12-04 15:35:04 -08:00
Alain Jobart 3d57d98fb4 Tests now wait for tablets to be serving when required.
(and various test fixes).

LGTM Mike.
2012-12-03 12:25:19 -08:00
Alain Jobart 0e812e3657 More consistent help for vtctl commands.
LGTM Mike.
2012-11-30 12:02:52 -08:00
Alain Jobart d24c8deb6d dbconfigs doesn't blindly export flags any more.
LGTM Shruti.
2012-11-30 09:32:38 -08:00
Ric Szopa 872f68ae86 Handle errors in dial correctly. 2012-11-29 17:52:09 -08:00
Alain Jobart a37ec2be26 Refactoring the -force flag in vtctl.
LGTM Mike.
2012-11-29 17:02:32 -08:00
Alain Jobart 6fb02fb7c0 Converting flags in binlog_reader into BinlogReader parameters.
LGTM Shruti.
2012-11-29 16:55:58 -08:00
Ric Szopa 54b5889f9f Forgotten file, typo in Makefile. 2012-11-29 11:23:24 -08:00
Ric Szopa 0bc605a269 Cleaned up the code according to PyFlakes suggestions. 2012-11-28 17:23:47 -08:00
Alain Jobart 70b5eaadd1 Cosmetic changes to resolve differences with our repo.
LGTM Mike.
2012-11-28 17:19:53 -08:00
Ric Szopa 303d6b6065 occ_test runs vttablet 2012-11-28 16:41:43 -08:00
Alain Jobart 338758e727 Adding a retry / multiple server zkocc connection layer
for the python client.

LGTM Mike.
2012-11-28 14:44:12 -08:00
Alain Jobart fe963b3bb6 Calling change callbacks at vttablet Start, more consistent.
LGTM Sugu, Ric.
2012-11-27 13:29:31 -08:00
Mike Solomon 7dcd8ae013 improve zkns purging of stale addresses 2012-11-27 12:01:53 -08:00
Mike Solomon c7cff17b02 improve performance of rebuild 2012-11-26 18:58:50 -08:00
Mike Solomon 0f02f7ab8a remove redundant shard rebuild 2012-11-14 21:40:18 -08:00
Alain Jobart 2e747fee47 Adding servenv to zkocc, had missed it somehow.
LGTM Sugu.
2012-11-26 11:20:54 -08:00
Alain Jobart ecb55d3fdf Simplifying this code.
LGTM Ric.
2012-11-21 17:10:58 -08:00
Alain Jobart 795856cbfa gofmt decided to remove trailing whitespaces, here is the
full change.

LGTM Ric.
2012-11-21 17:08:45 -08:00
Sugu Sougoumarane 1d73d5dd1d change occ_test to use unittest 2012-11-21 12:35:15 -08:00
Alain Jobart 571a208104 Better parameter and commands handling for vtctl.
LGTM Ric.
2012-11-21 11:14:42 -08:00
Ric Szopa 5f6da83946 Split puts manifest files in the keyrange directory. 2012-11-20 16:08:11 -08:00
Alain Jobart 15367dc418 Improving command parsing, handling and usage display in
mysqlctl.

LGTM Ric.
2012-11-20 13:20:28 -08:00
Alain Jobart e1282bd4d9 Using flag sets for sub-parameters in some operations.
LGTM Ric.
2012-11-20 11:59:40 -08:00
Sugu Sougoumarane dbfde3d6e2 simplify logstats boilerplate code 2012-11-19 16:24:03 -08:00
Ric Szopa 0be6c0825c Parallelize dumping tables, make split accept the empty string as a min/max key. 2012-11-19 15:25:41 -08:00
Ric Szopa c02070d8ab Use nested flagsets. 2012-11-19 15:25:29 -08:00
Alain Jobart ed66818102 Re-factoring the RPC-like action mechanism: now we save
an ActionNode, the args and the reply as three different
structures instead of one. Allows us to type the previous Args
and Result (instead of using a map[string]string).

This is not backward compatible.

LGTM Mike.
2012-11-19 14:47:37 -08:00
Alain Jobart 3f1137b418 Implementing ApplySchemaKeyspace and associated test.
LGTM Mike.
2012-11-16 11:16:48 -08:00
Sugu Sougoumarane cbffce38d5 prepwork for VM. split SqlQuery into two classes. 2012-11-15 13:47:39 -08:00
Alain Jobart 39691c94f2 Adding PruneActionLogs vtctl command, and test.
LGTM Mike.
2012-11-15 10:26:17 -08:00
Mike Solomon b4697c57d9 fix keyspace zkns export 2012-11-14 20:37:59 -08:00
Alain Jobart 2997344047 Using zk.CreateRecursive there.
LGTM Mike.
2012-11-14 14:45:15 -08:00
Alain Jobart 5780021857 Adding go binaries to .hgignore.
LGTM Mike.
2012-11-14 14:44:24 -08:00
Alain Jobart f090e60d4e Uid is now a uint32 (from uint). And has a ParseUid function.
LGTM Mike.
2012-11-14 13:42:24 -08:00