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
Sugu Sougoumarane
e205ecfd09
track invalidations by table
2012-04-02 21:46:00 -07:00
Sugu Sougoumarane
e2e3e0ef00
copyright deviolation
2012-04-01 21:58:56 -07:00
Sugu Sougoumarane
1f39441929
rowcache: simpler, more robust, and less chatty invalidation scheme.
2012-04-01 21:56:48 -07:00
Sugu Sougoumarane
15c1443004
schema: handle case where cardinality==0
...
tabletserver: copy read-only subquery results before normalizing
tabletserver: add function to validate the invalidation keys
tablet_server: bug fix. was not disabling cache if pk types were invalid
2012-04-01 17:14:58 -07:00
Sugu Sougoumarane
cc4d3d2878
tabletserver: InvalidateForDDL
...
memcache: export stats
2012-03-29 16:31:10 -07:00
Sugu Sougoumarane
afb35a16ff
modified ast structure to not contain nil pointers.
2012-03-28 22:34:43 -07:00
Sugu Sougoumarane
5c5695e7ec
use fnv hash to generate unique prefixes for row cache
...
fix some tests that were failing on slow dbs
2012-03-28 14:23:04 -07:00
Sugu Sougoumarane
35229bf0c1
shorten the life of invalidation objects in memcache
2012-03-27 15:59:19 -07:00
Sugu Sougoumarane
db2be9f119
skip pk row cache optimization if there's an order by clause
...
display query plans for query_cache stats
rowcache: limit size to 4k
2012-03-27 12:19:39 -07:00
Sugu Sougoumarane
be11a853c0
sqlquery: change invalidation function to use new key encoding scheme.
2012-03-26 13:18:37 -07:00
Sugu Sougoumarane
893b05f289
execution: include pk columns to indexes for covering index queries.
2012-03-26 00:04:47 -07:00