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

77 Коммитов

Автор SHA1 Сообщение Дата
Sugu Sougoumarane ad9c110c79 flags reorg: moved some flag initializations to their respective packages.
port is now specified in the command line instead of config file.
2012-06-21 16:21:45 -07:00
Sugu Sougoumarane 93669dff3b bug fix in base64 decode 2012-06-13 12:49:51 -07:00
Sugu Sougoumarane 3f4f66deb1 Added tag weekly for changeset 02959b6b17b8 2012-06-12 10:13:25 -07:00
Sugu Sougoumarane ed96d88e2b Added tag weekly.2012-06-11.go.4fdf6aa4f602 for changeset f57edeba9c93 2012-06-12 10:13:20 -07:00
Shruti Patil cb08a7a9a2 Protocol change for control commands to remove the 'Database' field from it, since mysql cannot supply it for 'COMMIT'. 2012-06-11 14:14:12 -07:00
Mike Solomon acf44a3249 fix dirty read of map 2012-06-11 11:09:29 -07:00
Sugu Sougoumarane a66124fe7c Support for db name verification for row cache invalidation messages.
Also, changed DDL invalidation to expect base64 encoded strings to avoid binary snafus.
2012-06-07 14:30:41 -07:00
Ric Szopa 02115e7048 Change the license notice to be shorter and refer to the license file. 2012-06-07 11:55:06 -07:00
Ric Szopa 9376a908b1 Fix go fmt issues with umgmtping. 2012-06-06 15:30:22 -07:00
Sugu Sougoumarane 97e4e35b64 fix typo in error msg in table_info
InvalidateForDDL should allow processingin shutdown mode
2012-06-06 13:49:51 -07:00
Sugu Sougoumarane e333e1b7d6 drop trailing slash from VTROOT 2012-06-04 18:42:45 -07:00
Sugu Sougoumarane 7e4a62aa48 bug: add setup.py 2012-06-04 16:22:02 -07:00
Sugu Sougoumarane e89672c478 Don't override VTROOT if it's already set 2012-06-03 22:52:30 -07:00
Sugu Sougoumarane 15afcc167f Changed bootstrap & dev.env to prep for sharding deployment. 2012-06-03 22:24:54 -07:00
Sugu Sougoumarane 3aee0efca2 bug fix: active pool was using the wrong time out value to poll for long running queries. 2012-05-31 15:38:39 -07:00
Sugu Sougoumarane 1e1aca93ed relog: convenience function for log levels. 2012-06-03 10:14:00 -07:00
Sugu Sougoumarane 1d55407ced parser extenstions:
- allow " for strings
- allow ` for identifiers
- allow @ for identifiers
2012-05-29 14:24:43 -07:00
Sugu Sougoumarane ba7248ed40 bug fix: honor invalidation commits while in shutdown mode. 2012-05-22 16:44:28 -07:00
Mike Solomon b10940d1a4 rename to clarify the purpose of this code 2012-05-16 12:32:24 -07:00
Mike Solomon 2a2d6ced76 rename more sensibly 2012-05-16 12:15:01 -07:00
Mike Solomon f5a0e89c1a new zk.MetaConn to abstract away choosing zk Conn by the path referenced
introduce a zk conn interface to make the code easier to update
fix a number of unit tests to preform more reliably and bring up a test zk instance
2012-05-15 17:57:14 -07:00
Mike Solomon 5d11f23016 fix whitespace trimming 2012-05-14 23:01:56 -07:00
Mike Solomon 269bded836 gofmt 2012-05-08 10:34:22 -07:00
Sugu Sougoumarane d2aab554da Added tag weekly for changeset 5d00e802193d 2012-05-17 13:17:00 -07:00
Sugu Sougoumarane 5dccb509b6 Added tag weekly.2012-05-14 for changeset ed469907f471 2012-05-17 13:16:54 -07:00
elij 1658c77eef add mysql-5.5 error message as possible response to timeout
This makes the test not fail on mysql 5.5

as per: http://groups.google.com/group/vitess/browse_thread/thread/4bb0edc8a5a62b2a
2012-05-07 21:42:51 -07:00
elij 056b5e972c Fix for exception in test harness due to attribute out of scope/missing.
Traceback (most recent call last):
      File "./occ_test.py", line 233, in <module>
        env.tearDown()
      File "./occ_test.py", line 126, in tearDown
        self.vtstderr.close()
    AttributeError: 'TestEnv' object has no attribute 'vtstderr'
2012-05-07 21:27:46 -07:00
Sugu Sougoumarane 30f0fa8f15 tabletserver: ExecuteBatch now returns a QueryResult list 2012-05-14 12:13:26 -07:00
Sugu Sougoumarane f7bb1261bb bug fix: pk column validation for row cache was incorrect. 2012-05-08 16:14:43 -07:00
Mike Solomon c09ae2edb1 change code to panic on path errors 2012-05-08 01:29:13 -07:00
Mike Solomon 957a72fe8f a lot of path refactoring, removing ad-hoc methods 2012-05-08 00:08:36 -07:00
Sugu Sougoumarane d2aaa44e35 perf bug fix: Reinitialze chunked buffer on reset so previous memory gets garbage collected. 2012-05-04 17:02:58 -07:00
Sugu Sougoumarane 6e7de66f2e added transaction support for invalidation API.
changed invalidation API to validate that strings are base64 encoded.
fixed minor dbug/vars reporting problem if vtocc could not initialize correctly.
2012-05-03 15:11:24 -07:00
Sugu Sougoumarane 20a7213eb4 Added tag weekly for changeset 91b5ee2723fd 2012-05-07 13:06:31 -07:00
Sugu Sougoumarane 7302765c7d Added tag weekly.2012-05-03 for changeset 4fdedbec1caf 2012-05-07 13:06:22 -07:00
Sugu Sougoumarane 16249b4972 bson marshal: Don't use Reserve for string & bytes data, they may be too long.
resurrected schema reloader. it's still needed.
readable query info error message.
remove ever-changing auto_increment info before hashing table info.
2012-05-02 23:15:49 -07:00
Sugu Sougoumarane 34e59e452f minor reporting bug fix in query cache. 2012-04-27 15:48:09 -07:00
Sugu Sougoumarane e71dcfe7c8 optimization stagte2: chunked writer for bson 2012-04-25 13:40:45 -07:00
Mike Solomon c300759629 snitch auto-registers, so don't expose that method 2012-04-25 00:09:42 -07:00
Mike Solomon 1a4eb94784 fix umgmt ListenAndServe to wait for the shutdown callbacks to execute 2012-04-24 15:09:03 -07:00
Sugu Sougoumarane 11eb137452 optimzation stage1:
- Cache & reuse field info for selects
- Optimization in QueryBson for reading
- Move the defer closure out of Execute into its own function
- Delete unused execCacheResult
2012-04-24 11:22:23 -07:00
Mike Solomon 7601970505 add tool to ping a umgmt socket - trying to debug sporadic failure of graceful restart 2012-04-23 18:52:06 -07:00
Sugu Sougoumarane 538caccfda Added tag weekly for changeset 94f1d4a47c23 2012-04-24 11:33:04 -07:00
Sugu Sougoumarane 82e2f9a0ac Added tag weely.2012-04-17 for changeset 64b824463cd6 2012-04-24 11:26:01 -07:00
Sugu Sougoumarane 929765a059 bug fix: Handle the case of cardinality being NULL. 2012-04-17 14:52:10 -07:00
Sugu Sougoumarane 9542fa8867 roundrobin: send a few more signals to prevent Get from blocking due to resource creation failures.
thx to dmitry for finding the bug.
2012-04-16 15:39:50 -07:00
Sugu Sougoumarane 2cfad8fddf rowcache: change encoding from bson to a custom packed binary format. 2012-04-16 14:47:05 -07:00
Mike Solomon b94c9aa61d fix path stuff in open repo 2012-04-13 17:39:57 -07:00
Sugu Sougoumarane 7e1a1e4ff7 roundrobin: Revamped to handle deadlocks & race conditions.
snitch: fix panic creator.
token: Handle error of just ':' as bind var name.
sqlquery: trap random panics to log the query that caused them.
2012-04-07 16:25:47 -07:00
Sugu Sougoumarane 3d02c8ad78 support for auto-increment & default value columns in pk 2012-04-03 00:51:50 -07:00