Commit Graph

4907 Commits (6c7bda097b1549039cf725b15d36891d12719b21)

Author SHA1 Message Date
Cory LaNou 3854fdfb82 Add script to show how to query for future data 2015-04-03 10:33:40 -05:00
runner.mei e129c53f64 fix unit test is failed on the windows 2015-04-03 13:50:28 +08:00
runner.mei 6a7cb61f6d fix unit test is failed with connection refused on the win32 2015-04-03 13:48:52 +08:00
Mark Rushakoff 56c58eb215 Fix swallowed error 2015-04-02 19:01:19 -07:00
Philip O'Toole f787755098 Merge pull request #2142 from influxdb/chunked-responses-2
Support chunked responses
2015-04-02 16:10:25 -07:00
Philip O'Toole 41c59dd6a2 Update CHANGELOG 2015-04-02 16:00:55 -07:00
Philip O'Toole e1b9ddadfe Work with new HTTP testing code 2015-04-02 16:00:55 -07:00
Philip O'Toole e4cf36fe29 Combine values across mappers before emit 2015-04-02 16:00:52 -07:00
Philip O'Toole 8661155a7d Fix bad merge with master 2015-04-02 15:22:27 -07:00
Paul Dix f3dce09621 uncoment raw ordering test 2015-04-02 15:22:27 -07:00
Paul Dix 8ac561d25c Handle json marshal errors 2015-04-02 15:22:27 -07:00
Paul Dix c4b780d8b2 remove xxx before integration test 2015-04-02 15:22:27 -07:00
Paul Dix 6c46a5c83b Add chunked responses and streaming of raw queries.
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.

Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.

Fixes #2029 and fixes #2030
2015-04-02 15:22:27 -07:00
Paul Dix b13385f9ab Fix error after rebase 2015-04-02 15:22:27 -07:00
Paul Dix 332c42750b Update server and handler to work with streamed responses 2015-04-02 15:22:27 -07:00
Ben Johnson 20c55bce85 Merge pull request #2151 from influxdb/ignore-metastore-replay
Ignore replayed commands on the metastore.
2015-04-02 14:51:20 -06:00
Ben Johnson 3d6d5f7dd7 Merge branch 'master' into ignore-metastore-replay
Conflicts:
	CHANGELOG.md
2015-04-02 14:46:06 -06:00
Ben Johnson c24f55b9ea Ignore replayed commands on the metastore.
This commit changes the metastore to ignore any commands that are replayed
against it. This is typically handled by the messaging.Conn but there's no
sense in panicing in the metastore if a replayed message comes through.
2015-04-02 14:43:25 -06:00
Philip O'Toole 889694bf8c Merge pull request #2153 from influxdb/two_point_test
Add two query unit tests
2015-04-02 11:46:30 -07:00
Philip O'Toole 7b720b6169 Unit-test two queries in a single request 2015-04-02 11:38:39 -07:00
Philip O'Toole 8a9f8d0eda Add simple test that results in entries in values 2015-04-02 11:36:02 -07:00
Jason Wilder ea7fe9b3d5 Merge pull request #2128 from influxdb/broker-discovery
Broker discovery
2015-04-02 12:28:35 -06:00
Jason Wilder cf9e0b22d7 Add #2128 to CHANGELOG 2015-04-02 11:27:59 -06:00
Jason Wilder 64f6900ce2 Change 1000ms to 1s 2015-04-02 11:27:59 -06:00
Jason Wilder 91fb7e3756 Track data node urls on brokers
This sends data node urls via the broker heartbeat from each data
node.  The urls are tracked on the broker to support simpler
cluster setup as well as distributed queries.
2015-04-02 11:27:53 -06:00
Jason Wilder 0af6d1006d Move RestoreCommandTest to integration tests 2015-04-02 10:22:28 -06:00
Cory LaNou 734e57acb5 Merge pull request #2147 from influxdb/set-max-procs-better-location
Set Go Max procs in a better location
2015-04-02 10:42:50 -05:00
Cory LaNou 013e95e33c Merge branch 'set-max-procs-better-location' of github.com:influxdb/influxdb into set-max-procs-better-location 2015-04-02 10:31:33 -05:00
Cory LaNou 8fa3571782 only need max procs for running 2015-04-02 10:27:35 -05:00
Cory LaNou 40a97d46f2 Update CHANGELOG.md 2015-04-02 10:05:39 -05:00
Cory LaNou e7866d3600 Set Go Max procs in a better location 2015-04-02 09:33:09 -05:00
Todd Persen bdd469db26 Update CHANGELOG.md 2015-04-01 21:11:43 -07:00
Cory LaNou d29a77ea65 Merge pull request #2145 from influxdb/fix-toml-duration
Encode toml durations correctly
2015-04-01 21:00:50 -05:00
Cory LaNou 176e05eb9a update changelog 2015-04-01 20:54:34 -05:00
Cory LaNou ccf9428836 update changelog 2015-04-01 20:43:14 -05:00
Cory LaNou 87c3c46208 encode toml durations correctly 2015-04-01 20:20:04 -05:00
Ben Johnson f99d582c4a Merge pull request #2143 from influxdb/raft
Add raft term logging.
2015-04-01 16:19:48 -06:00
Ben Johnson bc444821b9 Add raft term logging. 2015-04-01 15:42:16 -06:00
Todd Persen b60a98f613 Update CHANGELOG.md 2015-03-31 23:15:21 -07:00
dgnorton ab62c5b28f Merge pull request #2136 from influxdb/more_write_performance
use map for marshaledTags cache
2015-04-01 01:01:45 -04:00
David Norton 63346cdcdd minor style change 2015-03-31 23:49:54 -04:00
David Norton 53b6be1547 use map for marshaledTags cache 2015-03-31 23:08:09 -04:00
Philip O'Toole 23fe82e8ee Merge pull request #2134 from juliusv/fix-lint-warnings
Fix all lint errors in "admin" and "collectd" packages.
2015-03-31 18:58:29 -07:00
Julius Volz c919240d93 Fix all lint errors in "admin" and "collectd" packages.
admin/admin.go:10:2: a blank import should be only in a main or test package, or have a comment justifying it
    admin/admin.go:13:6: exported type Server should have comment or be unexported
    admin/admin.go:19:1: comment on exported function NewServer should be of the form "NewServer ..."
    admin/admin.go:24:1: exported method Server.ListenAndServe should have comment or be unexported
    admin/admin.go:44:1: exported method Server.Close should have comment or be unexported

    collectd/collectd.go:23:6: exported type Server should have comment or be unexported
    collectd/collectd.go:35:1: exported function NewServer should have comment or be unexported
    collectd/collectd.go:46:1: exported function ListenAndServe should have comment or be unexported
    collectd/collectd.go:145:1: exported function Unmarshal should have comment or be unexported
2015-04-01 03:37:31 +02:00
Philip O'Toole 4a37776cad Merge pull request #2132 from influxdb/fix_tag_neq
Remove redundant if condition
2015-03-31 16:49:36 -07:00
Philip O'Toole aaecda0c8e Remove redundant if condition 2015-03-31 16:38:48 -07:00
Todd Persen 1b6d185628 Merge pull request #2130 from influxdb/fix_mucho_marshaling
make fewer calls to marshalTags
2015-03-31 16:25:08 -07:00
Philip O'Toole 3eb0b048e7 Merge pull request #2105 from influxdb/fix_tag_neq
Fix tag NEQ
2015-03-31 16:23:01 -07:00
David Norton 40245dade5 don't export marshaledTags field 2015-03-31 19:18:51 -04:00
Philip O'Toole a7d904778a Correctly filter series for NEQREGEX
Series that do not have any tags are considered matching in the NEQREGEX
case so the must be explicitly added.
2015-03-31 16:14:30 -07:00