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

15629 Коммитов

Автор SHA1 Сообщение Дата
Mike Solomon 5285a9c57e allow DbNameOverride to be set at tablet init 2012-09-21 17:47:16 -07:00
Mike Solomon bc13dbf656 refine vtctl logging to be a bit quieter in the average case 2012-09-21 17:23:36 -07:00
Mike Solomon b51f9c4a2e increase accuracy of comment disabling a test temporarily 2012-09-21 17:22:48 -07:00
Mike Solomon c470b92747 improve error messages on validate 2012-09-21 17:20:39 -07:00
Alain Jobart bc6570d0b6 Refactor: adding some bson utility functions, using them in zkocc.
LGTM Mike
2012-09-21 14:36:10 -07:00
Alain Jobart df8def6b96 Checkpoint of some zkocc work: the structure is there, a few
things need to be refactored / tuned up, but this is a good
time to commit.

LGTM Mike.
2012-09-21 13:23:19 -07:00
Mike Solomon 9c0e143324 add db credential support 2012-09-20 23:56:19 -07:00
Ric Szopa 5782a7c63e Add syslog to vtctl 2012-09-20 18:45:54 -07:00
Sugu Sougoumarane 1feba3990e tabletserver: allowQueries now retries indefinitely until it can connect to a db.
tabletserver: removed race conditions & deadlocks around allow & disallowQueries.
2012-09-20 17:46:35 -07:00
Mike Solomon 573e4be398 squelch noise in tests - these gives the false impression something is wrong. 2012-09-20 15:37:23 -07:00
Ric Szopa b24920ae86 Log SqlQuery events using streamlog. 2012-09-19 12:58:50 -07:00
Mike Solomon 8bac1b1f06 add tablet change callback to bridge tablet server and tablet manager 2012-09-19 01:06:46 -07:00
Mike Solomon 3ac528e67a fix a few options to make the server easier to run in the test environment 2012-09-17 13:42:22 -07:00
Alain Jobart 1892654010 Refactoring snapshot creation to compute md5 during the compression.
LGTM Mike.
2012-09-17 17:03:00 -07:00
Alain Jobart f09e05c521 Re-factoring the client side of the replication functions,
to eliminate duplicate code and make it easier to understand.

LGTM Mike.
2012-09-17 15:45:27 -07:00
Sugu Sougoumarane 8d927b230b cleaner & more efficient mysql.go 2012-09-17 13:14:17 -07:00
Alain Jobart 95ba73bcab Adding support for partial snapshots / clones. There are still
a few things to work out, but the flow is there, with a working
test.

LGTM Mike.
2012-09-17 10:14:52 -07:00
Mike Solomon a9190e7e3b add zkocc prototype - lightweight interface to zk data 2012-09-17 03:04:22 -07:00
Mike Solomon aed2b4f7e9 refactor vtctl into wrangler 2012-09-17 01:01:36 -07:00
Mike Solomon 78fe617e17 refactor out chunks of the tabletmanager so that a sharded client has no cyclic dependencies
use jscfg consistently
remove stale code (keyspace, naming)
rename "shard" package to "key" to more accurately describe content and deter package cycles
2012-09-17 00:33:20 -07:00
Mike Solomon a7cf2e553a fix zk wait command to error out when too many paths are specified 2012-09-17 00:27:39 -07:00
Mike Solomon bba4988163 fix snapshot so the data is consistent even when data is flowing into mysql 2012-09-16 17:35:27 -07:00
Mike Solomon a3782231a0 fix mysql root path search
ensure go tools are in path
2012-09-16 13:15:37 -07:00
Mike Solomon f688a9aa15 fix mysql root path search
ensure go tools are in path
2012-09-16 13:10:05 -07:00
Mike Solomon 0f313962ed search for the master node when possible 2012-09-16 12:56:34 -07:00
Shruti Patil 8db321d852 Code for binlog parsing and tracking slave metadata to support the streaming of db updates. 2012-09-13 17:25:54 -07:00
Sugu Sougoumarane ce60477bfb fix incorrect LD_LIBRARY_PATH 2012-09-13 15:30:30 -07:00
Ric Szopa 0552f6c588 Revamp table based tests. 2012-09-13 14:31:39 -07:00
Sugu Sougoumarane 5fe7099d6f standardize on a single way to use mysql 2012-09-13 11:12:27 -07:00
Alain Jobart d803a4343c Fixing the streaming cursor to keep returning None after the end of a streaming read.
Also more comments on the streaming cursor states, and adding retries to
the tablet2 connection (same as a non-streaming execute). And an extra unit test.

SGTM Mike.
2012-09-12 16:17:22 -07:00
Sugu Sougoumarane 9ac3572bba strip multiple trailing comments instead of just last one for query uniqueness 2012-09-12 11:33:44 -07:00
Alain Jobart 2a115de197 Not putting streaming connections into the active pool,
so they don't inherit the timeout.

LGTM Sugu.
2012-09-11 15:58:05 -07:00
Mike Solomon e4c187f1fd remove errant test addition 2012-09-10 17:19:02 -07:00
Mike Solomon 9c9ad61588 fix scrap behavior with removing replication paths 2012-09-10 17:15:29 -07:00
Mike Solomon 9c7613e5d6 fix config loading 2012-09-10 13:57:53 -07:00
Mike Solomon 9f6f1eb3c8 misc cleanup after feedback from sougou 2012-09-10 00:18:24 -07:00
Mike Solomon a0a97827c2 remove unnecessary module 2012-09-09 18:32:00 -07:00
Mike Solomon 4725bc68a0 cleanup signal handling - system library handles it much better now 2012-09-09 17:29:28 -07:00
Sugu Sougoumarane cd4d590b8e Treat absent config files as non-fatal 2012-09-08 21:52:14 -07:00
Mike Solomon ed9c8f40ac begin resurrecting clone functionality
add mysqlctl snapshot / restore commands
add snapshot serving to vttablet
update integration tests accordingly
2012-09-08 18:23:57 -07:00
Mike Solomon 704ff2b232 properly squelch error messages for zk rm -f 2012-09-08 17:13:20 -07:00
Ric Szopa 2e870a8cfd Fix bugs in streamlog, resurrect streamlog.Stringer. 2012-09-07 14:01:08 -07:00
Ric Szopa 6fc495658e streamlog: on demand logging through http 2012-09-06 16:36:36 -07:00
Sugu Sougoumarane 64cc603008 cleanup of various configs & tests to use the new VTROOT structure 2012-09-06 16:14:19 -07:00
Alain Jobart 6ea812b5c1 bson marshaling: now use the custom marshalers even for
embedded structures. Reworking the code a bit. And unit tests.

LGTM Sugu.
2012-09-06 13:09:40 -07:00
Sugu Sougoumarane 24c5e1edf4 mysqlctl: init can now create symlinks so data & logs can live on different drives. 2012-09-06 11:46:32 -07:00
Alain Jobart fb70af1311 Renaming a few more 'self' to more meaningfull names.
LGTM Sugu.
2012-09-04 16:58:16 -07:00
Alain Jobart 7a92da6eff Adding support in cbson for uint64 decoding, and re-enabling
it in bootstrap, now that it doesn't break the unit test any more.

LGTM Sugu.
2012-09-04 14:32:02 -07:00
Sugu Sougoumarane f05f6684f3 Add missing hook to ensure linear tree. 2012-09-04 14:27:00 -07:00
Sugu Sougoumarane f96eef27c1 env & config changes: Move all program dependencies to use VTROOT & symlink magic. 2012-09-04 14:20:28 -07:00