Commit Graph

66 Commits (95e1e3b332fae50c1eb113b3421ae71168c034ad)

Author SHA1 Message Date
Mark Rushakoff 623bb71b01 Update godoc for the client packages 2016-12-30 11:58:43 -08:00
Ben Johnson d9a6a7340f add canonical paths 2016-02-10 11:30:52 -07:00
Ben Johnson bf823d9887 Integrating cmd/influxd/run. 2015-05-30 14:06:36 -06:00
Ben Johnson 1f294ce8de Add httpd.Handler.serveQuery() tests. 2015-05-29 14:59:57 -06:00
Ben Johnson 736875b858 Integrate meta package. 2015-05-29 14:54:04 -06:00
Jason Wilder 5dcab443dc Move data.Point to tsdb.Point 2015-05-22 15:00:51 -06:00
Jason Wilder 997020963a Convert Point.Time to Point.Time()
Make public state private so that Point can be converted to an
interface.
2015-05-22 14:39:15 -06:00
Jason Wilder a8ce23ca26 Allow coordinator to write points to shards with a consistency
level.
2015-05-20 10:01:28 -06:00
Todd Persen 9e839c0771 Merge pull request #2186 from influxdb/default-status-code-is-now-200
Default status code for queries is now 200
2015-05-11 13:14:54 -07:00
Todd Persen ea5a321cf4 Fix tests to expect 200 response code, handle client errors gracefully. 2015-05-11 11:36:16 -07:00
ben hockey 9a3c28748c change timestamp to time 2015-05-11 12:28:47 -05:00
Philip O'Toole 0994c8d9d5 Ensure no field value is null
Fix issue #2420.
2015-04-26 10:59:18 -07:00
Philip O'Toole e75e6a9526 Add HTTP endpoint that serves a requested shard
With this change a datanode can stream the requested shard to the
client. An error is returned if the shard does not exist or the the
shard is not local to that node.

1 data node can hit this endpoint to request data for a given shard if
the data no longer resides on the broker.
2015-04-22 09:29:19 -07:00
Jason Wilder c52dfce897 Load balance distributed queries across data nodes
Adds a Balancer interface to allow RemoteMappers to send data node
requests to multiple nodes.  It also provides the ability to failed
requests to mark the data node as offline using exponential
backoff with a 5 min max wait time.

Fixes #2242
2015-04-17 11:28:47 -06:00
Paul Dix 113995032e WIP: Initial implementation of remote mapper for distributed queries. 2015-04-10 16:11:34 -07:00
David Norton 25cea58635 refactor scanning & parsing of identifiers 2015-04-09 13:21:13 -04:00
Jason Wilder 8b5307f6e8 Remove all join URLs from config
This removes all join URLs from the config.  To join a node to a
cluster, the URL of another member of the cluster should be passed
on the command line w/ the -join flag.  The join URLs can now be
any node regardless of whether the node is a broker only or data
only node.  At join time, the receiving node will redirect the
request to a valid broker or data node if it cannot handle the request
itself.
2015-04-06 16:38:01 -06:00
Philip O'Toole 501b4ceedb Don't panic if presented with a field of unknown type
This can happen, though is very unlikely. If this node receives encoded
data, to be written to disk, and is queried for that data before its
metastore is updated, there will be no field mapping for the data during
decode. All this can happen because data is encoded by the node that first
received the write request, not the node that actually writes the data to
disk. So if this happens, skip the data.
2015-04-04 10:33:56 -07:00
Philip O'Toole 4c7c87a7bb Refactor common diags into types
This will make it easier to use these common diagnostics function in
other components, like the Broker, as well as minimizing growth of the
server type, in terms of SLOC.

This new diags code can be converted to InfluxQL rows, for easy display
and re-writes back to the database for self-monitoring.
2015-03-26 16:27:13 -07:00
Todd Persen 94a8019fc7 Wire up DROP CONTINUOUS QUERY 2015-03-25 11:58:33 -07:00
Cory LaNou 410e357b1b spelling 2015-03-10 12:38:31 -06:00
Cory LaNou db067b6a2d move constant 2015-03-10 12:24:26 -06:00
Cory LaNou b8fb723967 Enforce retention policy minimum (currently 1 hour) 2015-03-10 10:49:54 -06:00
Cory LaNou 4f5ad7399e add tests for NormalizeBatchPoints. Remove custom type client.Timestamp 2015-03-07 07:12:22 -07:00
Cory LaNou bda9685526 Use BatchPoints for writing from client library 2015-03-07 07:12:21 -07:00
Philip O'Toole 2f0fe901e3 Rename "Values" to "Fields" for writes 2015-02-23 15:06:56 -08:00
David Norton 9bff9cdeee issue #1431: wire up regex queries 2015-02-21 15:38:35 -05:00
Philip O'Toole 2585a9ea4f Encode real batches for shards 2015-02-20 11:28:07 -08:00
Paul Dix 5f14d5faf5 WIP: start implementation of continuous queries
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Philip O'Toole 5f20af0023 Implement codec DecodeByID 2015-02-16 16:31:39 -08:00
Philip O'Toole 75ebfaf3dd Use "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 32faba7248 Add "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Cory LaNou ffd71ea39c fixes #1542 - my bad 2015-02-10 15:57:46 -07:00
Cory LaNou f4dfb87acc first pass at hardening authorize 2015-02-05 14:39:40 -07:00
Philip O'Toole 05351822e4 Fix imports -- remove blank line 2015-02-03 18:43:23 -08:00
Cory LaNou 9791a74d26 make sure zero values does not set epoch time by accident 2015-02-03 18:43:23 -08:00
Philip O'Toole 9e916acc30 Ensure Tags map is non-nil
If the incoming points have no tags, then the unmarshaled BatchPoint
will have a nil Tags map.

Fix issue #1499
2015-02-03 18:43:23 -08:00
Philip O'Toole 737f93f572 Sanity-check points before storing 2015-02-03 18:43:23 -08:00
Philip O'Toole 347032ebf1 Move batch-points code to influxdb package
Since batching is not specific to the HTTP transport, this makes the
code available for use by other future transports.
2015-02-03 18:43:23 -08:00
David Norton a8b86dc29b golint cleanup 2015-02-01 13:47:48 -05:00
David Norton 8693d771ed issue #1418: persit user after grant/revoke 2015-01-30 10:46:29 -05:00
David Norton 2d34c71c0c Add authorization unit tests & code review fixes 2015-01-20 23:45:18 -05:00
Ben Johnson 4a03f09e9d Code review fixes. 2015-01-15 12:03:31 -07:00
Ben Johnson 0e2aae61e3 Basic query engine integration. 2015-01-14 16:44:09 -07:00
Ben Johnson 47cd03f3d3 Partial engine integration. 2015-01-13 10:16:43 -07:00
Ben Johnson 5652e12c63 Add write series. 2015-01-10 13:29:43 -07:00
Ben Johnson 50a0826026 Add broker snapshot/restore and CLI join. 2015-01-06 17:21:32 -07:00
Ben Johnson e88bd55762 Rename Node to DataNode. 2014-12-30 08:50:15 -07:00
Ben Johnson a04eb398cf Add node management. 2014-12-29 16:12:51 -07:00
Ben Johnson b25ced9b8e Refactor database methods into server. 2014-12-22 23:18:05 -07:00