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

950 Коммитов

Автор SHA1 Сообщение Дата
Sugu Sougoumarane f42fac26e6 Protocol changes: Change most rpc APIs to use structs. 2012-08-23 16:05:41 -07:00
Alain Jobart dc08f7958f Fixing tabletserver unit test to pass.
LGTM from Sugu.
2012-08-17 11:23:59 -07:00
Sugu Sougoumarane 3ff4f463c3 report all time stats in nanoseconds 2012-08-15 14:10:53 -07:00
Sugu Sougoumarane e448f50dcf config revamp: convert dbconfig maps to actual structs 2012-08-08 16:11:15 -07:00
Mike Solomon dc267d8b0c merge 2012-08-02 00:02:03 -07:00
Mike Solomon 5866f155cd gofmt 2012-08-01 23:51:05 -07:00
Ric Szopa aac30617e9 Merge Sugu's changes. 2012-07-31 15:07:54 -07:00
Ric Szopa 5107b7aeff Separate authenticated rpc server. 2012-07-31 14:42:18 -07:00
Sugu Sougoumarane 1440c2fc22 Moving config & dbconfig parsing back to vtocc.go 2012-07-31 14:37:19 -07:00
Sugu Sougoumarane f1843c18c5 New protocol for handling multi-dml updates 2012-06-21 18:28:58 -07:00
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
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
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
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 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 ba7248ed40 bug fix: honor invalidation commits while in shutdown mode. 2012-05-22 16:44:28 -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 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
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 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
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
Sugu Sougoumarane 929765a059 bug fix: Handle the case of cardinality being NULL. 2012-04-17 14:52:10 -07:00
Sugu Sougoumarane 2cfad8fddf rowcache: change encoding from bson to a custom packed binary format. 2012-04-16 14:47:05 -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 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
Sugu Sougoumarane 82e589636b schema: track cardinality of index columns
parser: added support for USE INDEX syntax
execution: Improved plan printing
execution: Use cardinality for more accurate index selection
execution: Add use index to subqueries
tests: More readable exec_cases.txt
2012-03-25 22:20:08 -07:00
Sugu Sougoumarane bd24342935 memcache: bug fix on large gets
schema: disallow caching for tables with fixed length binary columns
update_stream: allow char columns in primary key
inserts: allow inserts with unspecified columns lists
more reliable ddl throttle scheme
stats: track row not found separately from misses
2012-03-24 12:57:06 -07:00
Sugu Sougoumarane db4497300d row cache: unit tests done. 2012-03-22 01:01:44 -07:00
Sugu Sougoumarane 6831be96fa rowcache: almost done! 2012-03-20 17:33:11 -07:00
Sugu Sougoumarane 69b96741f9 refactor: created new reusable pools package by pulling code out of connection pools. 2012-03-16 17:07:27 -07:00
Sugu Sougoumarane a082e88409 updated to go's new build system and weekly.2012-03-04 2012-03-11 17:53:40 -07:00
Sugu Sougoumarane 2899c45aea tabletserver: big change. Fix all unprotected reads, standardize APIs and naming conventions. 2012-03-08 15:13:53 -08:00
Sugu Sougoumarane 412916748b Remove generated files _testmain.go, and undo manual changes of test files. 2012-02-29 14:10:06 -08:00
Sugu Sougoumarane 72a862e6b3 initial source code check-in. 2012-02-24 23:30:03 -08:00