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

6697 Коммитов

Автор SHA1 Сообщение Дата
Anthony Yeh 36e118bf5d Merge pull request #987 from enisoc/etcdtopo-race
Fix races in etcdtopo test
2015-08-11 14:51:34 -07:00
Anthony Yeh 9d9cf1e7cc Fix deadlock in etcdtopo TestWatchEndPoints.
The etcdtopo WatchEndPoints() function was written with the (correct)
assumption that updates can't be missed because the most recent known
index is passed to Watch(), which is supposed to replay any missed
updates.

However, in our fake etcd, we hadn't implemented the replay feature.
Hence, it was possible that the update the test was waiting for would
happen before the watch was installed, leading to a deadlock.
2015-08-11 14:15:06 -07:00
Michael Berlin ff4c59b11d Merge pull request #986 from michael-berlin/auto_export_optional_params
automation: Extend Task interface to support optional parameters.
2015-08-11 13:28:55 -07:00
Michael Berlin 4daa9c6c56 automation: Extend Task interface to support optional parameters.
Make parameter validation more strict: Unknown parameters are no longer
supported.

Fixed minor issues e.g. error messages must not be capitalized.
2015-08-11 13:17:48 -07:00
Alain Jobart 0627706c9f Merge pull request #985 from alainjobart/resharding
Resharding
2015-08-11 12:52:15 -07:00
Alain Jobart 15e9e28892 Merge branch 'master' into resharding 2015-08-11 12:13:03 -07:00
Ammar Aijazi 875bfa4e8e Merge pull request #978 from youtube/aaijazi_vtgate_streaming_errors
VtGate streaming endpoint errors in BsonRPC
2015-08-11 11:49:59 -07:00
Alain Jobart 056bb0e03d VTGate go client now uses proto3 KeyRange and KeyspaceId. 2015-08-11 11:34:44 -07:00
Anthony Yeh f3f3c5aae7 Fix race in etcdtopo test.
The per-node locks weren't being respected everywhere.
Since this is just a fake for tests, I simplified it by requiring
one big lock for all operations.
2015-08-11 11:32:11 -07:00
Anthony Yeh 48c19305df Merge pull request #984 from enisoc/vtctld
web/vtctld: Fix shard dashboard for new topo structures.
2015-08-11 11:31:49 -07:00
Anthony Yeh beb2733458 web/vtctld: Fix shard dashboard for new topo structures. 2015-08-11 11:22:47 -07:00
Alain Jobart 591ea016a4 Not using jscfg in zktopo, need to not panic. 2015-08-11 11:20:37 -07:00
Alain Jobart 18c37c3068 Removing jscfg use from etcdtopo. We don't want to panic. 2015-08-11 11:07:49 -07:00
Alain Jobart 7f5fd75e65 Now storing the proto3 SrvKeyspace in etcd and zk.
Will be forward-compatible when we retire topo.SrvKeyspace.
2015-08-11 10:52:37 -07:00
Alain Jobart cfac40d1e6 Changing go vtgate client to use pb.TabletType. 2015-08-11 10:42:34 -07:00
Alain Jobart ff1fd1f75c Retiring non-proto keyrange function. 2015-08-11 10:03:28 -07:00
Alain Jobart f5071cf98a Fixing initial_sharding.py test. 2015-08-11 09:45:30 -07:00
Alain Jobart dcd7039b9f Fixing this test. 2015-08-11 09:28:47 -07:00
Alain Jobart d45de431c6 Fixng backup name. 2015-08-11 09:25:08 -07:00
Alain Jobart 63dd6db3ca Merge pull request #980 from alainjobart/resharding
Resharding
2015-08-11 07:28:58 -07:00
Alain Jobart b96608e0e9 Fixing binlog player display. 2015-08-11 07:28:02 -07:00
Alain Jobart 4d9aa57a34 Fixing build after merge. 2015-08-11 07:16:46 -07:00
Alain Jobart bc0942ec5d Merge branch 'master' into resharding 2015-08-11 07:15:12 -07:00
Liang Guo c04582a199 Reduce unit test flakiness 2015-08-10 15:31:50 -07:00
Alain Jobart 9d08e24be0 Adding a main file for test libraries. 2015-08-10 15:15:33 -07:00
Alain Jobart 365bed21ef Merge branch 'master' into resharding 2015-08-10 15:13:03 -07:00
Alain Jobart 0e4696022a Merge pull request #982 from alainjobart/replication
Move files around. Now have a proper library, and the unit tests
2015-08-10 15:05:10 -07:00
Alain Jobart dc54dab9d8 Move files around. Now have a proper library, and the unit tests
are in sub-libraries.
2015-08-10 15:00:23 -07:00
Ammar Aijazi b81cc5fbee Merge pull request #981 from youtube/add_tabletaddr_to_topo
Add back TabletAddr to topo/tablet.go
2015-08-10 14:31:36 -07:00
Ammar Aijazi 412b78a2d2 Add back TabletAddr to topo/tablet.go 2015-08-10 14:08:13 -07:00
Alain Jobart 0b08bb50de Fixing UI for new tablet type. 2015-08-10 13:24:14 -07:00
Alain Jobart a79192c887 Fixing vtctld_test to pass. 2015-08-10 12:59:12 -07:00
Ammar Aijazi f665458295 Merge remote-tracking branch 'origin/master' into aaijazi_vtgate_streaming_errors 2015-08-10 12:52:56 -07:00
Alain Jobart 0bc6129eac Fixing a few uses of topo.TabletType.String() 2015-08-10 11:57:28 -07:00
Alain Jobart cc550b0161 Validating tablet alias, and linter. 2015-08-10 11:28:13 -07:00
Alain Jobart 57838636dc Use topo.ParseTabletType everywhere now. 2015-08-10 11:16:54 -07:00
Alain Jobart e3fcf35b2a Now using proto.TabletType in tm RPC. 2015-08-10 10:25:09 -07:00
Alain Jobart 50a8ebb0d5 Removing old topo.TabletAlias, using proto3 now. 2015-08-10 09:58:13 -07:00
Alain Jobart 26210aa7ce Fixing a bunch of things. Most integration tests now pass. 2015-08-10 09:33:07 -07:00
Alain Jobart 812ef583bd Merge branch 'master' into resharding 2015-08-10 08:31:47 -07:00
Alain Jobart e8190458a5 Second apart of conversion to proto3.Tablet.
Unit tests pass now.
2015-08-10 08:30:55 -07:00
jeffjiang 7ffb43fb32 Merge pull request #979 from guokeno0/master
Switch to CallerID enabled tabletconn in shard_conn.go
2015-08-09 21:53:15 -07:00
Jeff (Zhefu) Jiang a6fbf26fab Switch to CallerID enabled tabletconn 2015-08-09 13:18:10 -07:00
Ammar Aijazi 54d3d5e228 Support for other Stream* endpoints in VtGate 2015-08-08 19:02:34 -07:00
Ammar Aijazi 6ff1fd9206 Add support from StreamExecute2 in VtGate; returns errors the right way in BsonRPC 2015-08-08 18:16:51 -07:00
Ammar Aijazi b66031eefb Fix a small behavioral change when converting QueryResult from Proto3 to internal data structures 2015-08-07 18:36:13 -07:00
Ammar Aijazi 97757d049f Add tests for StreamExecute* for vtgateconn 2015-08-07 18:27:57 -07:00
Alain Jobart 53d1ee55f7 First part of conversion to proto3.Tablet. Doesn't compile yet. 2015-08-07 17:28:55 -07:00
Michael Berlin a8f043866b Merge pull request #977 from michael-berlin/auto_fix_race
automation: Fix data race.
2015-08-07 16:28:40 -07:00
Michael Berlin a5ac95a788 automation: Fix data race. 2015-08-07 16:03:20 -07:00