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
Paul Dix
6481c94162
Wire up tag keys
...
* Add index for sorted measurement names
* Add TagKeys method
2014-12-30 08:09:31 -05:00
Paul Dix
d0d36b73c1
Add last test cases for SeriesID with filter
2014-12-30 07:41:26 -05:00
Heon Jeong
a59be31449
Change influxql default associativity from right to left.
...
Closes #1266
modified one testcase as it was depending on right
associativity.
2014-12-30 10:20:12 +09:00
Heon Jeong
5736cbe2fc
Fix not to reuse unfiltered expr for filterExprBySource
...
`return expr` in the last line of `filterExprBySource` can
return unfiltered results, so fixing it by reconstruction
using filtered elements.
also added a test which can cause this problem.
2014-12-30 09:57:45 +09:00
Ben Johnson
a04eb398cf
Add node management.
2014-12-29 16:12:51 -07:00
Paul Dix
96eaf381fc
Wire up not regex matching
2014-12-29 17:16:54 -05:00
Paul Dix
31bf731825
Wire up regex matching against tag values
2014-12-29 17:07:35 -05:00
Paul Dix
fe40c3d9b6
Add test for query against a single tag and another tag not
2014-12-29 16:30:46 -05:00
Paul Dix
f8fdb4e5ff
Wire up tag not null/empty filter
2014-12-29 16:24:09 -05:00
Philip O'Toole
f6ff6fb1f6
Use 0.8.8 while 0.9.0 development takes place
2014-12-29 12:26:49 -08:00
Todd Persen
3ba966d943
Merge pull request #1267 from sanga/patch-1
...
Go 1.4 was released. Update travis.yml to test against it.
2014-12-28 14:14:07 -05:00
Paul Dix
877f90aed3
Use union when combining multiple mersurement series id sets
2014-12-26 14:42:06 -05:00
Paul Dix
4ffe8369a1
Fix stupid bug on measurementIndex.addSeries. Thanks @benbjohnson!
2014-12-26 14:21:10 -05:00
Paul Dix
dff557ae19
Wire up NOT filters
...
* Add Reject method to SeriesIDs
* Refactor the adding of a series into measurementIndex
* Update measurementIndex to keep a sorted list of all series IDs
2014-12-26 13:37:02 -05:00
Paul Dix
360c7a4029
Wire up Union of SeriesIDs
2014-12-26 12:37:59 -05:00
Paul Dix
07ed9ae8e8
Add more test cases for filtering and intersection.
2014-12-26 12:20:35 -05:00
Paul Dix
94110716cd
Make index construction more efficient
2014-12-26 11:23:29 -05:00
Paul Dix
e49d2b728b
Rename TagIndex to Index
2014-12-26 11:10:46 -05:00
Tim Sampson
6e28c7dd10
Go 1.4 was released. Shift travis to test with it
2014-12-26 10:34:29 +02:00
Paul Dix
9ec210f7f9
Add comments for clarity
2014-12-24 19:01:53 -05:00
Paul Dix
9fb04a2636
Add per measurement tag index.
...
* Add tag index inside the measurement index
* Add initial table tests for getting series ids by filters
* Add comments for some existing methods
2014-12-24 18:44:53 -05:00
Paul Dix
bbe859c981
WIP: Add in memory tag and megastore index
...
* Refactor metastore to remove tag mappings
* Add TagIndex and tests
* Update server to use TagIndex
2014-12-23 23:46:54 -05:00