Commit Graph

5944 Commits (75b72c60fe138df3788146bf6e5a13a5ff239374)

Author SHA1 Message Date
David Norton 97c84a6d4f add benchmark tests for shard WritePoints 2015-06-02 17:00:25 -04:00
David Norton 67464238ed add benchmarks for building in-mem series index 2015-06-02 17:00:25 -04:00
Jason Wilder 594f60d9e5 Merge pull request #2741 from influxdb/jw-protobufs
Protobuf fixes
2015-06-02 14:58:07 -06:00
Cory LaNou b3f215ac5f add back epoch conversion on query results 2015-06-02 14:49:05 -06:00
Cory LaNou 900903ee69 fix select tags 2015-06-02 14:48:33 -06:00
Jason Wilder 156e7df346 Rename PointsWrite.Store to TSDBStore
Matches MetaStore naming convention better.
2015-06-02 14:47:59 -06:00
Jason Wilder 3957e096f8 Remove ownerID from protobufs
Not needed since the node that processes the request is the owner.
2015-06-02 14:45:52 -06:00
Paul Dix b18546be22 Fix tx.go after merge of alpha1 2015-06-02 14:56:20 -04:00
Cory LaNou 1a114c070e Merge pull request #2730 from influxdb/alpha1
Alpha1
2015-06-02 10:52:38 -06:00
Ben Johnson 44d38cb430 Merge branch 'master' into alpha1 2015-06-02 10:40:52 -06:00
Paul Dix c098c6fd78 Merge pull request #2728 from influxdb/pd-tsdb-drop-queries
Wire up DROP SERIES.
2015-06-02 11:30:49 -04:00
Paul Dix 4a1ce77090 Wire up DROP SERIES.
* Pulled over updates to ast and parser from master
* Updated store and shard to be able to drop series
* Pulled updates to database.go from master into tsdb/meta.go
2015-06-02 11:20:20 -04:00
Jason Wilder 4fa9fd5fe9 Merge pull request #2725 from influxdb/jw-client
Update client to use line protocol
2015-06-01 17:35:26 -06:00
Jason Wilder 5c851c4b1c Fix panic: runtime error: slice bounds out of range in tsdb.measurementFromSeriesKey
Writing points without tags caused this since strings.Index(key, ",") returned
-1 if there were no tags.
2015-06-01 17:19:29 -06:00
Jason Wilder e400e8f2d6 Use default retention policy if not specified during writes 2015-06-01 17:16:44 -06:00
Jason Wilder 497cd506f9 Remove temporary INFLUXDB_ALPHA write path enable flag
Real thing exists now.
2015-06-01 16:45:08 -06:00
Jason Wilder f7d90cf94e Convert client to use line protocol by default
Keeps the API unchanged for now although many of the JSON features
don't map well to the line protocol endpoint so we might want to
remove them when the JSON api is removed.
2015-06-01 16:22:12 -06:00
Cory LaNou 76be8decb9 Merge pull request #2724 from influxdb/integration-tests
Adding some integration tests
2015-06-01 16:05:47 -06:00
Cory LaNou d962283ae6 adding some integration tests 2015-06-01 16:04:20 -06:00
Cory LaNou ed8470d50d Merge pull request #2722 from influxdb/influxd
Basic influxd service wired up for reading/writing
2015-06-01 12:37:56 -06:00
Cory LaNou 17bdf1c114 get both json/line protocol endpoints working 2015-06-01 12:35:57 -06:00
Cory LaNou d581254719 fix tests 2015-06-01 11:59:58 -06:00
Cory LaNou 3597565955 reading and writing yo! 2015-06-01 11:59:58 -06:00
Cory LaNou 1df33af196 Merge pull request #2721 from influxdb/jw-write-api
Use content type switch for /write API
2015-06-01 11:55:49 -06:00
Jason Wilder badb2bf057 Use content negotiation for /write API
If content-type is "application/json", we'll process the request as
of old JSON write API.  Otherwise, we assume line protocol but check
the first byte in case a older client is still sending JSON without the
correct content-type header.
2015-06-01 11:15:46 -06:00
Ben Johnson 50be500777 Merge pull request #2713 from influxdb/influxd
Influxd
2015-05-30 14:07:59 -06:00
Ben Johnson bf823d9887 Integrating cmd/influxd/run. 2015-05-30 14:06:36 -06:00
Ben Johnson e1fc0958e7 Rename cluster.Coordinator to cluster.PointsWriter. 2015-05-30 14:05:27 -06:00
Ben Johnson c916256ac9 Rename cluster.Writer to cluster.ShardWriter. 2015-05-30 14:05:27 -06:00
Paul Dix 016b43e52e Merge pull request #2711 from influxdb/pd-auth-if-no-users
Make Authenticate return true if no users and creating a root user.
2015-05-30 14:32:22 -04:00
Paul Dix f3245ab9ac Make Authenticate return true if no users and creating a root user. 2015-05-30 14:29:16 -04:00
Paul Dix 8d172b934f Merge pull request #2710 from influxdb/pd-fix-tsdb-open
Fix tsdb Store and Shard Open
2015-05-30 12:12:53 -04:00
Paul Dix 89aee31a5d Add comments and stub out `executeDropDatabase` 2015-05-30 12:10:24 -04:00
Paul Dix 15d37fd388 Make store open every shard on load. Fix shard to set measurementFields on load.
Fixes issue where queries wouldn't be able to hit anything because the index does't load until the shard is open.

Fix an issue where field codecs weren't populated in the shard when loading.
2015-05-30 11:53:53 -04:00
Ben Johnson 2fec857988 Merge pull request #2709 from influxdb/integrate-meta
Meta & Query Engine Changes
2015-05-30 09:05:25 -06:00
Ben Johnson 2b5d04aee3 Fix local test listener. 2015-05-30 09:01:04 -06:00
Ben Johnson 8c8a55a737 Removed 'failed' from test suite. 2015-05-30 08:59:27 -06:00
Ben Johnson 79fba95550 Merge remote-tracking branch 'origin/alpha1' into integrate-meta 2015-05-30 08:50:09 -06:00
Ben Johnson 233c63029b Refactor influxd.Main. 2015-05-30 08:49:49 -06:00
Ben Johnson 4872e6db7c Move services to subpackage. 2015-05-30 08:20:12 -06:00
Ben Johnson cdc5a47efa Clean up influxdb. 2015-05-30 08:14:10 -06:00
Ben Johnson 97f9670fa3 Fix influxql.Rows. 2015-05-30 07:19:19 -06:00
Jason Wilder 0f2d0130bf Merge pull request #2707 from neonstalwart/values-to-fields
s/values/fields/g in JSON Unmarshal benchmarks
2015-05-29 21:49:01 -06:00
ben hockey cfbff1df08 s/values/fields/g in JSON Unmarshal benchmarks 2015-05-29 21:27:06 -05:00
Jason Wilder e6e55cf526 Merge pull request #2706 from influxdb/jw-write-path
Add JSON unmarshal benchmarks
2015-05-29 19:48:51 -06:00
Jason Wilder 53d78b5612 Add JSON unmarshal benchmarks
Similar to the ParsePoints benchmarks for the line protocol for
comparison.
2015-05-29 19:32:32 -06:00
Cory LaNou f66afc23bb merging alpha1, fix vet errors 2015-05-29 15:28:08 -06:00
Ben Johnson 6677ea074f more services, more test fixes, getting closer... 2015-05-29 14:59:57 -06:00
Ben Johnson 9d4527071e Refactor run command. 2015-05-29 14:59:57 -06:00
Ben Johnson 1f294ce8de Add httpd.Handler.serveQuery() tests. 2015-05-29 14:59:57 -06:00