Commit Graph

3125 Commits (1d68cf8581f3e920e78863040cf089eae07c0bfa)

Author SHA1 Message Date
David Norton 7683eb6754 Add WITH PASSWORD & RETENTION POLICY 2015-01-03 02:06:47 -05:00
David Norton f6c1b75cef Propose user & permissions query syntax 2015-01-03 02:06:46 -05:00
Paul Dix 7743310432 Merge pull request #1264 from influxdb/in_mem_tag_index
Add in memory tag and metastore index
2015-01-02 14:28:25 -05:00
Paul Dix 70ad990208 Remove series id to measurement map, put in series object 2015-01-02 14:24:48 -05:00
Paul Dix b6691e035c More style updates 2015-01-02 14:13:45 -05:00
Paul Dix b42def229a Update database style based on feedback 2015-01-02 14:02:02 -05:00
Cory LaNou 7239d08059 fixing some comments and extra line returns 2015-01-02 10:57:21 -06:00
Cory LaNou a7a22cc52d fixing bad merge 2015-01-02 10:09:11 -06:00
Cory LaNou 897e1c8969 merge conflict 2015-01-02 09:58:31 -06:00
Cory LaNou b52437f00a Initial incorporation of fixes from pull request #1276
Changes to be committed:
	modified:   cmd/influxd/config.go
	modified:   cmd/influxd/config_test.go
	modified:   cmd/influxd/run.go
	renamed:    graphite.go -> graphite/graphite.go
	renamed:    graphite_test.go -> graphite/graphite_test.go
2015-01-02 09:57:04 -06:00
Cory LaNou 5d24a4893b handler_test.go should pass go vet 2015-01-02 09:56:46 -06:00
Cory LaNou 5fbdd4b1cb Wiring graphite end point back up
Graphite server now understands how to use the WriteSeries

Added ability for series information to be passed in the graphite name.

Format is:

	key.value.key.value.metric 50 <timestamp>\n

Example:

	region.us-west.hostname.server01.cpu .09323432 1419958066\n

Added test coverage for the Graphite endpoint.  Need to figure out
how to test a successful listenAndServe.

Need to add tests around new configuration for default values
when not specified for graphite servers.

Changes to be committed:
modified:   cmd/influxd/config.go
modified:   cmd/influxd/config_test.go
modified:   cmd/influxd/run.go
modified:   graphite.go
new file:   graphite_test.go
2015-01-02 09:56:46 -06:00
Cory LaNou cc4630e268 vet shoudl pass for server.go 2015-01-02 09:56:25 -06:00
Cory LaNou 7d339b302d making go vet pass for cmd/influxd/run.go 2015-01-02 09:56:25 -06:00
Paul Dix d5548aa136 Refactor Index into database
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
2014-12-31 18:55:45 -05:00
Philip O'Toole 3143127402 Merge pull request #1282 from influxdb/associatibity_unit_test
Add unit test for change made by PR 1273
2014-12-31 18:53:05 -05:00
Philip O'Toole f37f0b80fa Add unit test for change made by PR 1273 2014-12-31 15:50:10 -08:00
Philip O'Toole ff4ec329a8 Merge pull request #1281 from influxdb/fix_filterExprBySource_comment
Fix filter expr by source comment
2014-12-31 17:37:51 -05:00
Philip O'Toole ba0745e244 Fix comment for filterExprBySource 2014-12-31 14:35:30 -08:00
Cory LaNou 2303a0f014 merge conflict 2014-12-31 15:47:10 -06:00
Cory LaNou 84980c97d2 Initial incorporation of fixes from pull request #1276
Changes to be committed:
	modified:   cmd/influxd/config.go
	modified:   cmd/influxd/config_test.go
	modified:   cmd/influxd/run.go
	renamed:    graphite.go -> graphite/graphite.go
	renamed:    graphite_test.go -> graphite/graphite_test.go
2014-12-31 15:37:58 -06:00
Ben Johnson 80977aa375 Merge pull request #1280 from influxdb/combine-exec
Create cluster on initial run
2014-12-31 13:55:04 -07:00
Ben Johnson 7db96f795a Remove magic number. 2014-12-31 13:50:34 -07:00
Paul Dix b268ffecb8 Wire up getting measurements by a collection of series ids 2014-12-31 15:10:47 -05:00
Ben Johnson 9b1d9df868 Add --role to 'run'. 2014-12-31 12:55:27 -07:00
Paul Dix 3aa46c6b8a Wire up TagValues on index. 2014-12-31 14:54:28 -05:00
Philip O'Toole 05489f4827 Merge pull request #1279 from influxdb/fix_unit_test
Fix unit test so filterExprBySource fix is tested
2014-12-31 14:44:41 -05:00
Ben Johnson dbb089488f Create cluster on initial run. 2014-12-31 12:42:53 -07:00
Philip O'Toole a45a08cccf Fix unit test so filterExprBySource fix is tested
The change introduced by:

    https://github.com/influxdb/influxdb/pull/1269

was not actually being tested.
2014-12-31 11:41:54 -08:00
Cory LaNou a8446d70e0 handler_test.go should pass go vet 2014-12-30 16:52:44 -06:00
Cory LaNou a3f69046ff Merge branch 'master' into graphite 2014-12-30 16:51:31 -06:00
Paul Dix 0f64a29d78 Fix merge conflicts 2014-12-30 17:50:55 -05:00
Ben Johnson 70d561aa6f Refactor main/run. 2014-12-30 15:46:50 -07:00
Cory LaNou 2905ebc864 Wiring graphite end point back up
Graphite server now understands how to use the WriteSeries

Added ability for series information to be passed in the graphite name.

Format is:

	key.value.key.value.metric 50 <timestamp>\n

Example:

	region.us-west.hostname.server01.cpu .09323432 1419958066\n

Added test coverage for the Graphite endpoint.  Need to figure out
how to test a successful listenAndServe.

Need to add tests around new configuration for default values
when not specified for graphite servers.

Changes to be committed:
modified:   cmd/influxd/config.go
modified:   cmd/influxd/config_test.go
modified:   cmd/influxd/run.go
modified:   graphite.go
new file:   graphite_test.go
2014-12-30 16:46:33 -06:00
Paul Dix f763060b68 Refactor measurementIndex into the measurement object.
* Updated megastore to build the per database index for the server object
* Changed Server to have MeasurementNames and MeasurementSeriesIDs methods instead of generic Measurement method.
2014-12-30 16:45:58 -05:00
Paul Dix 6556ccd628 Update QUERIES.md
make changes to how list tag values works.
2014-12-30 14:40:44 -05:00
Ben Johnson d626ea5b3d Merge pull request #1274 from influxdb/raft-prefix
Fix tests for /raft prefix
2014-12-30 12:00:23 -07:00
Ben Johnson 6941dc0c61 Fix tests for /raft prefix. 2014-12-30 11:57:57 -07:00
Ben Johnson 77322731fa Merge pull request #1273 from blmarket/change-default-assoc
Change influxql default associativity from right to left.
2014-12-30 11:54:22 -07:00
Ben Johnson 97e3dc90df Merge pull request #1269 from blmarket/master
Fix not to reuse unfiltered expr for filterExprBySource
2014-12-30 11:52:25 -07:00
Ben Johnson 29361bac41 Merge pull request #1272 from influxdb/nodes
Add node management
2014-12-30 10:44:24 -07:00
Cory LaNou 67b2539bad vet shoudl pass for server.go 2014-12-30 11:21:15 -06:00
Ben Johnson bb7cdfb2af Reanme Shard.nodeIDs to Shard.dataNodeIDs. 2014-12-30 10:20:45 -07:00
Paul Dix 4716e0c03d Small stype changes based on feedback 2014-12-30 11:03:45 -05:00
Ben Johnson 957ea91997 Add DataNode autoincrementing sequence. 2014-12-30 09:01:19 -07:00
Ben Johnson ebb82a91fd Remove data node sort in the metastore. 2014-12-30 08:53:07 -07:00
Ben Johnson e88bd55762 Rename Node to DataNode. 2014-12-30 08:50:15 -07:00
Paul Dix 17568b264d Small style changes based on @benbjohnson's feedback. 2014-12-30 10:25:54 -05:00
Cory LaNou 79c0b62ff1 Merge branch 'master' into graphite 2014-12-30 09:09:49 -06:00
Cory LaNou e19db2b89d making go vet pass for cmd/influxd/run.go 2014-12-30 09:04:39 -06:00