Ric Szopa
e4ca20d63c
Test for Redactor.
2012-11-14 13:41:46 -08:00
Ric Szopa
1ae502e0c8
It's Redacted, not Redact.
2012-11-14 13:31:27 -08:00
Mike Solomon
b7d0c9156b
make PurgeActions more robust - only clean up non-running actions.
2012-11-14 13:33:11 -08:00
Mike Solomon
d15f3c5e02
change CreateRecursvie to be more optimistic - better average case performance.
2012-11-14 13:32:14 -08:00
Mike Solomon
4104e14d44
fix bug when stat is nil
2012-11-14 13:18:59 -08:00
Ric Szopa
087bcd6826
Documentation for relog.Redactor.
2012-11-14 13:19:46 -08:00
Ric Szopa
bdb65c58b8
JSON in sensitive data string representation.
2012-11-14 12:53:34 -08:00
Ric Szopa
ece66e050e
Redact away dbconfig password.
2012-11-14 12:53:32 -08:00
Alain Jobart
f248c4b197
Now using Results inside ActionNode for results, and many
...
associated changes. Not using zk to store [partial]snapshot
results any more, but instead the Results, and fetching the
manifest through http.
LGTM Mike.
2012-11-14 12:11:23 -08:00
Alain Jobart
52fd017434
Parallel compress and fetch for clone & split. And retries for fetch.
...
LGTM Mike.
2012-11-14 11:23:47 -08:00
Alain Jobart
b32b57ba0b
Refactoring the way actions responses are sent: we now
...
store the responses in a actionlog directory, and delete the
action node anyway.
Still need to refactor a few things, and clean up the files.
LGTM Mike.
2012-11-12 16:47:36 -08:00
Alain Jobart
6f80d52311
Fixing this test I broke earlier.
2012-11-12 15:43:18 -08:00
Ric Szopa
92295999e2
Make connection_test.py work in both 2.6 and 2.7.
2012-11-12 12:05:21 -08:00
Sugu Sougoumarane
a306a055f8
end to end tests for type system & some bug fixes
2012-11-12 11:53:19 -08:00
Alain Jobart
5b1b7ec2d5
Renaming ReplicaSource, and better recovery.
...
LGTM Mike.
2012-11-12 11:47:47 -08:00
Alain Jobart
1ed3a317b5
Adding a TYPE_SCHEMA_UPGRADE 'schema' tablet type, using it.
...
LGTM Mike.
2012-11-12 09:40:51 -08:00
Mike Solomon
845d28598a
added a new method to list all active actions in shard
2012-11-11 21:25:21 -08:00
Mike Solomon
b131ab75a1
add lag reporting to ShardReplicationPositions
...
sort output in a more relevant way to picking a new master during a failure
2012-11-11 18:05:03 -08:00
Mike Solomon
5f277e2e0d
add a check to make sure our services don't run as root
2012-11-11 12:48:14 -08:00
Mike Solomon
aec0450846
issue only a warning when initial tablet validate fails
2012-11-11 12:41:14 -08:00
Mike Solomon
bb291636c7
fix the definition of slave vs replicating type
2012-11-11 12:30:47 -08:00
Sugu Sougoumarane
169f86c653
enforce strict mode & other misc fixes
2012-11-09 11:54:43 -08:00
Alain Jobart
0347ca8058
Fixing a bug in a for loop / go routine launch that shows
...
bad checks in Validate -ping mode.
LGTM Mike.
2012-11-09 09:21:12 -08:00
Alain Jobart
18dee8c018
First pass at ApplySchemaShard. It doesn't handle the tablet state
...
properly (yet!), but everything else should work.
LGTM Mike.
2012-11-08 16:42:20 -08:00
Alain Jobart
f4ef9d3714
Adding a PreflightSchema operation. Using it in ApplySchema on a tablet.
...
LGTM Mike / Sugu.
2012-11-08 11:05:26 -08:00
Sugu Sougoumarane
f677ce365a
mysql: tests for QueryResult encoding
2012-11-08 10:26:36 -08:00
Mike Solomon
02e46efe9a
fix lag slave handling during reparent
2012-11-07 02:57:16 -08:00
Mike Solomon
3fea3177ef
support reparenting a single tablet to the last known coordinates tracked in _vt.reparent_log
2012-11-07 01:08:01 -08:00
Mike Solomon
5726b783d9
test new lag slave handling
2012-11-07 00:28:55 -08:00
Mike Solomon
02d9d67a70
added tools to check replication positions
2012-11-07 00:28:49 -08:00
Mike Solomon
12d2191668
take the wraps off of RebuildReplicationGraph and clean up the help a bit
2012-11-05 12:01:54 -08:00
Shruti Patil
0bbdf07041
Integration of update stream service with vtttablet using streaming rpc.
2012-11-06 17:55:59 -08:00
Sugu Sougoumarane
a34c35734d
bson: use reflect to check for []byte and time.Time instead of interface
2012-11-06 16:31:01 -08:00
Sugu Sougoumarane
f9a139ec7d
bson: more complete tests
2012-11-06 15:57:25 -08:00
Ric Szopa
7b6a3ec04d
Redial after a timeout.
2012-11-06 13:48:04 -08:00
Ric Szopa
94e74787bf
Refactor connection tests to start their own MySQL, test for timeouts.
2012-11-06 13:48:01 -08:00
Alain Jobart
1bea87ed04
Tablet ApplySchema operation. Using it in sharded.py as a test.
...
LGTM Mike.
2012-11-05 15:06:00 -08:00
Sugu Sougoumarane
fb806cf4dc
tabletserver: introduce a more formal type system
2012-11-05 14:28:37 -08:00
Mike Solomon
89dcc117bf
add per-keyspace zkns export
2012-11-03 18:06:56 -07:00
Mike Solomon
5b920c9c8d
move zkns export into wrangler code
2012-11-02 15:18:40 -07:00
Mike Solomon
d6a606f12b
refactor zkns support and improve json formatting
2012-11-02 15:03:45 -07:00
Alain Jobart
081b3e53e6
Now using mysqlctl to start/stop mysql for occ_test.py
...
LGTM Mike.
2012-11-02 09:49:07 -07:00
Mike Solomon
51e457785f
allow ReparentShard to leave master in read-only mode for emergencies
2012-11-01 14:34:42 -07:00
Alain Jobart
10713f343d
Fixing zkocc.GetV to return results in order. That should fix
...
intermittent failures on the unit test.
LGTM Mike.
2012-11-01 13:05:09 -07:00
Mike Solomon
3b9ab6c755
fix warnings from mysql in tests
2012-10-31 23:51:58 -07:00
Mike Solomon
e5d1bcb1d3
make rebuild commands behave more consistently
...
RebuildKeyspaceGraph now rebuilds the constituent shards in parallel
add comments explaining other rebuild operations
2012-10-31 23:51:44 -07:00
Alain Jobart
f8f59779de
Fixing these tests to account for new routing code.
...
LGTM Sugu.
2012-10-31 15:51:14 -07:00
Alain Jobart
38ad421e31
go/Makefile moved to top, now also runs all tests by default.
...
LGTM Mike.
2012-10-31 15:29:41 -07:00
Alain Jobart
e3f0ba06ae
Using env.VtRoot in hooks.
...
LGTM Ric.
2012-10-31 14:47:57 -07:00
Alain Jobart
5710bea21a
Couple fixes after Mike's changes.
...
LGTM Mike.
2012-10-31 14:30:36 -07:00