Ben Johnson
713ca4b831
Merge branch 'master' into stateless-broker
...
Conflicts:
messaging/broker.go
2015-03-09 12:27:14 -06:00
Philip O'Toole
76c255a3c8
Add trace-level logging to server write path
2015-03-05 17:35:57 -08:00
Todd Persen
93b56ca058
Make sure queries for missing measurements return a `200 OK` even when using a `GROUP BY *`.
2015-03-05 17:27:46 -08:00
Philip O'Toole
77d8986626
Don't delete data with infinite retention
2015-03-05 15:22:36 -08:00
Ben Johnson
1bbf154f2a
Removing replicas and subscriptions from broker.
2015-03-01 22:32:20 -07:00
Kai Zhang
ef262171d6
trim command line before parse it
...
This can avoid some errors caused by an additional space at the end of
the command line.
For example: 'use db ' will be trimed to 'use db' and parsed correctly.
Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-03-01 10:44:20 +08:00
Philip O'Toole
a7c0d71d9c
Merge pull request #1770 from kylezh/dev
...
Fix error when alter retention policy
2015-02-27 20:55:14 -08:00
Paul Dix
a26f11f489
fixes based on @dgnorton's feedback
2015-02-27 01:09:38 -05:00
Paul Dix
52f257e349
Make show series return IDs and work with limit and offset.
...
Fixes #1765
2015-02-27 01:09:38 -05:00
Kai Zhang
9f8639ded8
Fix error when alter retention policy
...
+ fix error when execute ALTER RETENTION POLICY bar ON foo DURATION 1h
+ add test to verify the fix
Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-02-27 09:54:39 +08:00
Cory LaNou
0ab43cc8a5
adding better error message to return
2015-02-26 17:10:09 -07:00
Cory LaNou
499a5dcb33
show series should only return for measurements with series data
2015-02-26 17:10:09 -07:00
Cory LaNou
66c5750726
return early if no measurement. clarify comments
2015-02-25 12:56:23 -07:00
Cory LaNou
fb2f7416ed
drop shard data
2015-02-25 12:42:23 -07:00
Cory LaNou
a151fe64d4
deleting data from metastore. wip
2015-02-25 12:42:23 -07:00
Cory LaNou
0ad76c637d
broadcastig drop measurement
2015-02-25 12:42:23 -07:00
Cory LaNou
079f64338b
wiring up droping series, wip
2015-02-25 12:42:23 -07:00
Philip O'Toole
eb0480ebdf
Perform retention checks again UTC time
2015-02-25 10:55:48 -08:00
David Norton
e7e04cdeb0
fix #1717 : code review chng & update CHANGELOG.md
2015-02-24 14:35:22 -05:00
David Norton
95a5f2588e
fix #1717 : all points must have at least one field
2015-02-24 14:09:10 -05:00
Paul Dix
86972788d3
Merge pull request #1632 from influxdb/wildcard_group_by
...
Implement comprehensive query wildcard re-write
2015-02-24 00:13:37 -05:00
Philip O'Toole
41ad49f1c1
Add wildcard detection method to SelectStatement
2015-02-23 19:09:55 -08:00
Philip O'Toole
84de4ad56c
Add wildcard rewrite functionality for SELECT
...
This code, when given a SELECT statement, returns another SELECT
statement such that all "query" and GROUP BY wildcards have been
replaced with all Measurement fields and tag keys respectively.
2015-02-23 19:09:55 -08:00
Philip O'Toole
86b91ead94
"SHOW TAG VALUES" now outputs series per tag key
...
This change tightens up the type used for "Series" so the pre-existing
sort method can be used.
2015-02-23 17:15:55 -08:00
Philip O'Toole
2f0fe901e3
Rename "Values" to "Fields" for writes
2015-02-23 15:06:56 -08:00
Todd Persen
2cc23d3c66
Merge pull request #1529 from influxdb/stats-reporting
...
Bring back stats reporting.
2015-02-23 12:57:49 -08:00
Todd Persen
f647cdc031
Add read locking and inline data collection.
2015-02-23 12:37:17 -08:00
Cory LaNou
8e086a447b
Change delete to drop for [dD]ropDatabase
2015-02-23 13:14:18 -07:00
Todd Persen
20a5d0b932
Rename ids for clarity.
2015-02-23 10:42:39 -08:00
Todd Persen
c059e21974
Also track number of databases.
2015-02-23 10:42:39 -08:00
Todd Persen
20e7f2a750
Some small cleanups.
2015-02-23 10:42:39 -08:00
Todd Persen
e45611cde3
Pull in cluster ID for reporting.
2015-02-23 10:42:39 -08:00
Todd Persen
ddf1332ff8
Add reporting of series and measurement counts
2015-02-23 10:42:39 -08:00
Todd Persen
ff1c61c5c1
Only report if ReportingDisabled is set to false.
2015-02-23 10:42:39 -08:00
Todd Persen
2ac2538ed3
Don't block for stats reporting.
2015-02-23 10:42:39 -08:00
Todd Persen
c366fcbbf6
Update stats reporting to just POST for now.
2015-02-23 10:42:38 -08:00
Philip O'Toole
3e727ac01e
Change "Rows" to "Series" in API output
2015-02-22 21:21:49 -08:00
Philip O'Toole
9ab1221a35
Move Raft command types to own file
...
server.go is getting long, so start breaking it up a little.
2015-02-22 11:50:43 -08:00
Cory LaNou
8637a10b6a
start with seriesByMeasurement
2015-02-21 22:18:25 -07:00
Cory LaNou
29910c3c99
better transaction batching for drop series
2015-02-21 21:48:18 -07:00
Cory LaNou
d5ac049812
remove bogus method
2015-02-21 20:20:36 -07:00
Cory LaNou
d35e2a92b1
locking is now done in process messages
2015-02-21 19:14:00 -07:00
Cory LaNou
c575ee9a04
fixing a fat fingering rebase
2015-02-21 19:13:01 -07:00
Cory LaNou
2752ada587
moving more responsibility to database.dropSeries
2015-02-21 17:21:27 -07:00
Cory LaNou
6114c8138e
refactoring drop series
2015-02-21 17:21:27 -07:00
David Norton
61352f78b6
pass all series IDs to Server.DropSeries at once
2015-02-21 17:18:50 -07:00
David Norton
9a6e29ece8
collect all series IDs then unlock
2015-02-21 17:18:50 -07:00
Cory LaNou
5ab3731159
delete -> drop for series naming
2015-02-21 17:18:50 -07:00
Cory LaNou
697e9721dd
fixing rebase conflicts
2015-02-21 17:10:12 -07:00
Cory LaNou
0d6b7616de
accidentally lost this in my rebase
2015-02-21 17:10:11 -07:00