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
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
Paul Dix
b268ffecb8
Wire up getting measurements by a collection of series ids
2014-12-31 15:10:47 -05:00
Paul Dix
3aa46c6b8a
Wire up TagValues on index.
2014-12-31 14:54:28 -05:00
Paul Dix
0f64a29d78
Fix merge conflicts
2014-12-30 17:50:55 -05: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
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
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
Ben Johnson
127f72ae4b
Merge pull request #1263 from influxdb/replica-id
...
Use replica id instead of replica name
2014-12-23 18:15:59 -07:00
Ben Johnson
7a1de8a459
Use replica id instead of replica name.
2014-12-23 17:01:06 -07:00
Ben Johnson
f381697640
Merge pull request #1261 from influxdb/refactor
...
WIP: Refactor database methods into server
2014-12-23 11:21:25 -07:00
Ben Johnson
bc84151b00
Fix leaky shard creation.
2014-12-23 11:18:46 -07:00
Ben Johnson
ca6d0e30af
Code review fixes.
2014-12-23 08:47:32 -07:00
Ben Johnson
b25ced9b8e
Refactor database methods into server.
2014-12-22 23:18:05 -07:00
Paul Dix
b7cc1c5134
Merge pull request #1260 from dvigueras/patch-1
...
Fixed 'How to Write Go Code' link
2014-12-22 15:47:07 -05:00
Daniel Vigueras
d213acee90
Fixed 'How to Write Go Code' link
...
The link was wrong, it had an extra closing bracket.
2014-12-22 20:08:37 +00:00
Ben Johnson
24e0a398cc
Merge pull request #1201 from influxdb/tag-index
...
Tag index
2014-12-22 09:24:16 -07:00