Michael Berlin
f98f88a7d6
worker: Fail if a table has no columns.
2016-08-12 16:22:13 -07:00
Michael Berlin
797449cac7
vtworker: Exclude views from schema when calling GetSchema().
...
This avoids having to skip over view tables manually.
2016-08-12 16:09:29 -07:00
Michael Berlin
20be289fac
Merge pull request #1935 from michael-berlin/replication_lag_module_rebased
...
throttler: First version of adaptive throttling.
2016-08-12 14:54:49 -07:00
David Slater
204c759cae
Updating to rc5
2016-08-12 13:29:58 -07:00
Anthony Yeh
88c3027d71
Merge pull request #1938 from pkulsh/web-angularUpdates
...
Web - Added the ngModule component to support Angular 2 update
2016-08-12 12:03:51 -07:00
Pavel Ivanov
cd4156f2af
Merge pull request #1937 from pivanof/backups
...
Always enable vttablet's backup support in tests.
2016-08-12 12:00:22 -07:00
Michael Berlin
1158eed3cd
worker: SplitClone: Ignore MASTER tablets in the MaxReplicationLagModule.
2016-08-12 11:53:10 -07:00
Michael Berlin
0bf2687a6f
worker: SplitClone: Let HealthCheck instance broadcast to the respective throttler.
...
Since the listener was already in use by the TabletStatsCache instance, my listener implementation calls the cache now.
2016-08-12 11:43:30 -07:00
Michael Berlin
805734a47c
throttler: Demo binary which demonstrates the functionality of the MaxReplicationLagModule.
2016-08-12 11:43:30 -07:00
Michael Berlin
14cfb8ec13
throttler: Initial version of the MaxReplicationLagModule.
2016-08-12 11:43:30 -07:00
Michael Berlin
eed4e382f9
throttler: Remember historic actual throttler rates across all threads.
...
This data will be used by the MaxReplicationLagModule to determine the average rate between two replication lag measurements.
2016-08-12 11:43:30 -07:00
Priyanka Kulshreshtha
5bcc2ce769
Added the ngModule component support Angular 2 update
2016-08-12 11:20:21 -07:00
Michael Berlin
9d7237e1fb
Merge pull request #1919 from michael-berlin/travis_data_race
...
Fix Travis Go data race test.
2016-08-12 11:18:35 -07:00
Pavel Ivanov
9be6888f14
Always enable vttablet's backup support in tests.
...
Since in production vttablets are supposed to always run with backup support
enabled, it's better to run all (or most) of the tests with that support enabled
as well. The only test that actually requries the backup support to be disabled
is modified to explicitly do that.
2016-08-12 10:54:51 -07:00
Alain Jobart
15dd6e6c32
Merge pull request #1931 from alainjobart/time
...
Adding a vttime library. To be used soon.
2016-08-12 09:28:09 -07:00
Alain Jobart
66049030ae
Adding a vttime library. To be used soon.
...
We're going to add a time Interval to each statement in replication.
2016-08-12 08:43:08 -07:00
Robert Navarro
73f5ac197c
Initial commit for percona 5.7 docker image
2016-08-12 08:39:33 -07:00
Michael Berlin
0e69dfc20d
worker: SplitClone: Fix data race around usage of sync.WaitGroup.Wait().
...
Since sync.WaitGroup.Add() was called in spawned Go routines, it could happen that Wait() on the sync.WaitGroup instance was called before Add(). This is not supported by the sync.WaitGroup implementation and resulted in a data race.
The fix is to call Add() in the same Go routine before Wait(). I did this by removing the outer Go routine which wasn't necessary in the first place.
2016-08-12 01:29:50 -07:00
Michael Berlin
9704ce72b2
worker: SplitClone: Fix data race in Go test.
...
The problem was that multiple threads were reading from the fake queryservice.
2016-08-12 01:29:50 -07:00
Michael Berlin
3ba7ec59e2
worker: SplitClone: Fix HTML for ETA line.
2016-08-12 01:29:50 -07:00
Michael Berlin
a92954afb3
worker: SplitClone: Fix ETA display in console log for online clone phase.
2016-08-12 01:29:50 -07:00
Michael Berlin
c42f1ef49a
worker: SplitClone: Display correct list of used tablets during online clone phase.
...
Before the shown list was empty.
2016-08-12 01:29:50 -07:00
Michael Berlin
0a153875a3
worker: SplitClone: Fix data race for "offlineSourceAliases".
2016-08-12 01:29:50 -07:00
Michael Berlin
1f3773e9a7
worker: SplitClone: Renamed sourceAliases to make it clearer that it's only used in the offline phase.
2016-08-12 01:29:50 -07:00
Michael Berlin
b82eab3e9b
logutil: Exclude test logic from go test -race.
...
During a go test -race run, the stacktraces get shifted by one. This breaks the test which check that we extract the correct filename from the stacktraces.
It's fine to exclude this because the remainder of the test code is still run during go test -race.
2016-08-12 01:29:50 -07:00
Michael Berlin
0c0e067c35
tools: Add a comment why we test only go/vt/ and not all packages.
2016-08-12 01:29:50 -07:00
Michael Berlin
10d5071d41
tools: Let unit_test_race.sh fail if go test -race found no data race, but failed.
...
Without this we didn't notice that the race test was always failing on Travis and exited early.
2016-08-12 01:29:50 -07:00
Michael Berlin
c4fd56dca3
tools: Split env var VT_GO_PARALLEL into two instead of overwriting it.
...
Export VT_GO_PARALLEL from the Makefile to subprocesses. Fixes the problem that the variable was not used for 'make unit_test_race'.
VT_GO_PARALLEL is used to explicitly set the degree of concurrent packages tested in Travis. We do this because a value of 4 is faster than the default of 2 (for the two available CPUs).
2016-08-12 01:29:07 -07:00
Michael Berlin
1ec6acb096
Merge pull request #1934 from pkulsh/vtctld-golintFixes
...
fixed golint error
2016-08-11 22:43:47 -07:00
Priyanka Kulshreshtha
e85f12ed87
Fixed golint error
2016-08-11 17:59:06 -07:00
Priyanka Kulshreshtha
20fe27710d
fixed golint error
2016-08-11 17:26:04 -07:00
Alain Jobart
28937cc4cd
Merge pull request #1932 from alainjobart/grpc
...
New version of grpc go client.
2016-08-11 13:03:52 -07:00
Michael Berlin
25600912f3
Merge pull request #1917 from pkulsh/web-tabletService
...
vtctld: support per-keyspace data generation in realtime stats backend
2016-08-11 12:28:53 -07:00
Alain Jobart
86da28d114
New version of grpc go client.
...
And new option in gRPC options to turn of FailFast.
The automation client can wait until context deadline.
2016-08-11 12:20:52 -07:00
Priyanka Kulshreshtha
2ee8ae3f15
Made style changes
2016-08-11 10:16:43 -07:00
Priyanka Kulshreshtha
9b253d5c87
Changed tester files based on commments from mberlin.
2016-08-11 06:32:13 -07:00
Anthony Yeh
baf99aa15a
Merge pull request #1924 from chrisgillis/master
...
Vindex for helping in migrations to vitess
2016-08-10 15:22:31 -07:00
Priyanka Kulshreshtha
b693c07d81
Fixed api.go and realtime_status tests.
2016-08-10 14:27:27 -07:00
Alain Jobart
4ddff73b91
Merge pull request #1930 from youtube/unsecure-username
...
Replacing space with underscore in unsecure username
2016-08-10 14:20:22 -07:00
Chris Gillis
913965dc5e
removing the reverse lookup table as it is not needed if we aren't implementing reversemap interface
2016-08-10 10:30:29 -07:00
Harshit Gangal
56530440ab
fixed test
2016-08-10 22:52:44 +05:30
Priyanka Kulshreshtha
de8dfff62f
Made style changes suggested by mberlin.
2016-08-10 09:51:40 -07:00
Harshit Gangal
3ae829329b
replacing splace with underscore
2016-08-10 18:13:55 +05:30
Priyanka Kulshreshtha
d0d7fc0ecf
Made changes suggested by mberlin to tablet_stats_cache logic
2016-08-09 22:05:07 -07:00
Chris Gillis
d617b02e3b
removed ReverseMap for now
2016-08-09 22:02:30 -07:00
Chris Gillis
6a0cc69977
reversemap should always return an id; err check should be after getNumber()
2016-08-09 21:30:21 -07:00
thompsonja
f729316a75
Merge pull request #1927 from thompsonja/vtcombo
...
Move start_vtcombo logic into run_local_database.py. Revert change to…
2016-08-09 17:05:23 -07:00
David Slater
66d58425b7
Removed extraneous merge files and adde new line to dialog-content
2016-08-09 15:30:54 -07:00
David Slater
bf0c1e254a
Added new icons on the sidenav, these do not point to new views.
2016-08-09 15:18:01 -07:00
David Slater
910a1ad443
vtctld: added full crud functionality for UI.
...
Pointed UI to endpoint that leverages vtctl for commands.
Added support for Validation at all levels, RebuildKeyspaceGraph,
RemoveKeyspaceCell, InitShardMaster, Ping, and RefreshState.
2016-08-09 15:18:01 -07:00