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

5265 Коммитов

Автор SHA1 Сообщение Дата
脑残果粉 073f69451b Merge pull request #515 from yaoshengzhe/fix_queryservice_unit_test_package_level_variable
add SqlDBConn interface for low level db connection
2015-03-24 16:42:29 -07:00
Shruti Patil d00e3daeab Removed the retry on txn pool full. 2015-03-24 16:18:47 -07:00
Shengzhe Yao defc9d9398 add sqldb.Conn interface for low level db connection
1. add sqldb.Conn and move mysql.ConnectionParams to sqldb package.
2. change mysql.Connect function to return sqldb.Conn.
3. update places using *mysql.Connection to sqldb.Conn.
4. update places using *mysql.ConnectionParams to *sqldb.ConnParams.
5. changes places that use mysql.Connect to sqldb.Get().
6. Some randome go style fix (suggested by golint).
7. define package level variable DefaultDB in sqldb.
8. go/mysql will register its Connect func in init function.
2015-03-24 15:31:11 -07:00
Anthony Yeh 8e15c4c780 Merge pull request #511 from msolo-dropbox/msolo-fix-atomic-file-write2
Cleanup error handling to be clearer and remove unnecessary short-write ...
2015-03-24 12:25:21 -07:00
Alain Jobart 2d2753f3e2 Update README.md 2015-03-24 11:54:50 -07:00
Alain Jobart 7a843129dc Delete ServingGraph.md
Refer to TopologyService.md now.
2015-03-24 11:53:40 -07:00
Alain Jobart 83fcf42de9 Delete ReplicationGraph.md
Refer to TopologyService.md now.
2015-03-24 11:53:25 -07:00
Alain Jobart 702c1a6fa4 Delete ZookeeperData.md
Refer to TopologyService.md now.
2015-03-24 11:53:09 -07:00
Alain Jobart 1119c56b81 Update TopologyService.md 2015-03-24 11:52:22 -07:00
Alain Jobart c89a7fcbb5 Update VitessOverview.md 2015-03-24 11:02:00 -07:00
Alain Jobart 7a1a5919f1 Update Concepts.md 2015-03-24 09:00:33 -07:00
Alain Jobart 5a2f8d2dbf Create TopologyService.md 2015-03-24 08:20:31 -07:00
Alain Jobart c47b0a626a Merge branch 'master' into replication 2015-03-23 16:21:13 -07:00
Alain Jobart fc7deb5d6d Merge pull request #513 from youtube/resharding
Resharding
2015-03-23 16:12:32 -07:00
Alain Jobart 1fb6cd65c5 Another couple of places to not use TabletType in. 2015-03-23 15:25:17 -07:00
Alain Jobart be9a60795a Stop using keyspace.TabletTypes (in preparation for retirement). 2015-03-23 14:18:09 -07:00
Mike Solomon 8ed769841c Remove if rename fails. Improve test slightly. 2015-03-23 18:41:35 +00:00
Alain Jobart 0bd8ec0a85 Fixing this test. 2015-03-23 10:20:37 -07:00
Alain Jobart ce63051823 Merge branch 'master' into replication 2015-03-23 10:18:33 -07:00
脑残果粉 43d01e4f13 Merge pull request #508 from yaoshengzhe/fix_add_schemamanager_opensource
add Vitess schema manager
2015-03-23 09:49:23 -07:00
Mike Solomon c31c99729a Cleanup error handling to be clearer and remove unnecessary short-write check. 2015-03-22 14:03:11 -07:00
Alain Jobart 95e61a031b Merge pull request #510 from msolo-dropbox/msolo-fix-atomic-file-write
Fix atomic file write to force a Sync and not shadow an error.
2015-03-21 09:55:10 -07:00
Mike Solomon 6619cd0895 Fix atomic file write to force a Sync and not shadow an error. 2015-03-20 20:40:05 -07:00
shrutip 28058c02a2 Merge pull request #504 from youtube/vtgate_exc_cleanup
Cleaned up vtgatev2_exception logging.
2015-03-20 16:20:27 -07:00
sougou 36adf9d44d Merge pull request #509 from youtube/suguwork
rowcache: improved socket filename generation
2015-03-20 16:01:37 -07:00
Alain Jobart 0d9cc1586a Merge branch 'master' of github.com:youtube/vitess 2015-03-20 15:57:32 -07:00
Alain Jobart 9722a61d54 Fixing python typo. 2015-03-20 15:56:57 -07:00
Sugu Sougoumarane b66a87c47b rowcache: improved socket filename generation
It turns out that ioutil.Tempdir generates names that are
longer than the grte socket file name limit of 108. So,
we're instead using a socket filename hint passed in from
the command line.
2015-03-20 15:40:19 -07:00
Shengzhe Yao 0c53409dc6 add Vitess schema manager
schemamanager provides an easy way to apply Vitess schema changes
through VTGate.

schemamanager contains three components: DataSourcer, Executor and EventHandler.
DataSourcer: retrieve all schema changes from some data source and return them as a list of sql strings.
Executor: do runtime schema validation  and executes schema changes for specified keyspace
EventHandler: callbacks that handles particular events.
2015-03-20 15:00:14 -07:00
Alain Jobart 014287ef41 Fix this test. 2015-03-20 14:20:01 -07:00
sougou 9cb85d2234 Merge pull request #507 from youtube/suguwork
tabletserver: bug fix on disallowQueries.
2015-03-20 13:19:02 -07:00
Sugu Sougoumarane ba73c27687 tabletserver: bug fix on disallowQueries.
Ensure that the done channel is closed from all return
code paths. Otherwise, disallowQueries explodes sometimes.
2015-03-20 13:16:46 -07:00
Alain Jobart 9a59b497e0 Merge pull request #494 from youtube/resharding
Now using ShardReferences fields in a few places instead of
2015-03-20 12:54:45 -07:00
脑残果粉 68eda86334 Merge pull request #497 from yaoshengzhe/fix_add_fakerpcvtgateconn
add fake rpc vtgateconn
2015-03-20 10:24:34 -07:00
Alain Jobart baa18dda15 Merge branch 'master' into resharding 2015-03-20 09:08:08 -07:00
Shengzhe Yao d70aba2b4e add fake rpc vtgateconn
fakeVtgateConn implements VTGateConn interface and provides a fake
implementation that could be used for doing unit tests. fakeVtgateConn
does not need a running vtgate and thus more lightweight and much faster.
2015-03-19 19:07:54 -07:00
Ammar Aijazi 62bed0564c Merge pull request #506 from youtube/aaijazi_export_target_tablet_type
Publish TargetTabletType as a debug var
2015-03-20 00:23:49 +01:00
Ammar Aijazi 4743061550 Publsh TargetTabletType as a debug var 2015-03-19 15:11:55 -07:00
Anand Henry 5baf463977 Merge pull request #505 from youtube/split-query-fixes
SplitQuery: cosmetic changes
2015-03-18 17:31:42 -07:00
Ammar Aijazi fcd0e67e02 Merge pull request #503 from youtube/aaijazi_fix_influxdb_flags
Move InfluxDB init into servenv.OnRun as it depends on flags and logging
2015-03-19 00:27:51 +01:00
Shruti Patil 81f0fd2a0a Fixes based on review comments. 2015-03-18 16:13:32 -07:00
Shruti Patil c60aa15931 Cleaned up vtgatev2_exception logging. 2015-03-18 15:55:25 -07:00
Anand Henry 03d5254d70 SplitQuery: cosmetic changes 2015-03-18 15:28:53 -07:00
Ammar Aijazi 0fb8302d2d Changed the cpu_profile flag in zkclient to not overlap with servenv's flag 2015-03-18 12:00:59 -07:00
Ammar Aijazi 5d5c488163 Move InfluxDB init into servenv.OnRun as it depends on flags and logging 2015-03-18 08:59:24 -07:00
Ammar Aijazi e37acf867f Merge pull request #501 from youtube/aaijazi_add_monitoring_docs
Add documentation about monitoring metrics
2015-03-18 14:31:33 +01:00
Ammar Aijazi 8637ddb852 Minor tweaks to monitoring documentation 2015-03-18 06:30:33 -07:00
Anand Henry 382bedf2b3 Merge pull request #500 from youtube/split-query-fixes
SplitQuery: Error handling and session validation
2015-03-17 18:04:28 -07:00
Ammar Aijazi 607bf33f3a Add documentation about monitoring metrics 2015-03-17 17:43:01 -07:00
Anand Henry 7a65fb872f SplitQuery: Error handling and session validation
1. Add SessionId to SplitQueryRequest
2. Do not panic if a table contains no rows, just return empty set of
boundaries.
3. Remove panic style error handling and explicitly return errors
2015-03-17 17:00:00 -07:00