Commit Graph

169 Commits (631f2946ff632fdad1c151c53d0ea5276c25729e)

Author SHA1 Message Date
Ben Johnson e4178520da Close shards on server close. 2015-02-10 22:18:36 -07:00
Philip O'Toole d00718c3a8 Update retention policy before saving database
Without this change, new shard group information is not persisted in the
metastore and only when the next database-save took place would this
update be persisted. If the server shutdown before the update, the new
shard group would be lost.
2015-02-10 19:21:02 -08:00
Philip O'Toole c003b39611 Only need read-lock for path 2015-02-10 16:53:43 -08:00
Philip O'Toole bb73ff8825 Only need a read lock for server ID 2015-02-10 16:51:01 -08:00
Cory LaNou 9bfbf15bad signature no longer requires database as an argument 2015-02-10 11:03:07 -07:00
Cory LaNou 0811af6211 sorting was not required, it was a testing setup issue 2015-02-10 09:49:22 -07:00
Cory LaNou adcf038323 Merge pull request #1550 from influxdb/cli-not-reporting-errors
CLI needs to echo out errors from client library.
2015-02-10 09:28:27 -07:00
Cory LaNou 1f56514c29 Merge pull request #1540 from influxdb/select-wildcard
Select wildcard functionality implemented
2015-02-10 09:07:31 -07:00
Cory LaNou 7b28df0d49 someone needs to add a precommit hook... 2015-02-10 08:54:19 -07:00
Cory LaNou 84ac4dbddb sort fields for select * for consitency in results 2015-02-10 08:40:40 -07:00
Todd Persen 6b70408864 Merge pull request #1351 from influxdb/go-external
Change "code.google.com/p/go.*" to "golang.org/x/*"
2015-02-09 20:23:26 -08:00
Cory LaNou 82ae461378 defend against select *,value 2015-02-09 19:59:13 -07:00
Cory LaNou 8a1bb5922c added wildcard query functionality. fixes #1432 2015-02-09 19:59:13 -07:00
Cory LaNou 804b426068 removing obsolete code 2015-02-09 19:58:11 -07:00
Cory LaNou f84ea8268a Merge pull request #1526 from influxdb/http-status-endpoint
Start of a status http endpoint
2015-02-06 16:12:39 -07:00
Cory LaNou 74a0dc2e2a do not need a write lock, just read, better performance 2015-02-06 15:53:51 -07:00
Cory LaNou 339e170d82 start of a status http endpoint 2015-02-06 13:52:28 -07:00
David Norton 3f3c00da8d fix #1510: panics when measurement doesn't exist 2015-02-06 15:43:53 -05:00
Cory LaNou 3dec0e7ed5 remove debug output 2015-02-06 10:05:19 -07:00
Cory LaNou 973bb78808 add tests for logging unauthorized access request 2015-02-06 10:03:34 -07:00
Cory LaNou 4225cd7407 move Authorize from func to method for Server 2015-02-06 09:16:45 -07:00
Cory LaNou d23191b0d1 add additional comment to NewServer about authentication 2015-02-05 16:40:41 -07:00
Cory LaNou 09d4a4e2d7 no need to lock a bool 2015-02-05 16:20:02 -07:00
Cory LaNou 1604d7f604 refactor how we default authentication enabled 2015-02-05 15:54:32 -07:00
Cory LaNou f4dfb87acc first pass at hardening authorize 2015-02-05 14:39:40 -07:00
David Norton d0dc677292 fix #1516: ALTER RETENTION POLICY 2015-02-05 12:54:06 -05:00
Philip O'Toole b424c2fe0c Merge pull request #1503 from influxdb/top_level_timestamps
Fix batched writes
2015-02-04 08:25:46 -08:00
David Norton 2b84113487 issue #1423: wire up show field keys 2015-02-04 10:59:47 -05:00
Philip O'Toole 737f93f572 Sanity-check points before storing 2015-02-03 18:43:23 -08:00
Paul Dix 010e3d0be9 Change locks to read locks since that's what's actually needed 2015-02-03 21:36:41 -05:00
Ben Johnson 98421f6ccc Merge branch 'master' into batch
Conflicts:
	server.go
	tests/siege/urlgen
2015-02-02 20:57:05 -07:00
David Norton a8b86dc29b golint cleanup 2015-02-01 13:47:48 -05:00
Philip O'Toole 9846f05edf Quit value-less requests as soon as possible 2015-01-30 23:01:13 -08:00
David Norton 8693d771ed issue #1418: persit user after grant/revoke 2015-01-30 10:46:29 -05:00
David Norton 0b70307ca0 issue #1418: rm param from executeGrantStatement
- Remove database param from executeGrantStatement and use the database
  name specified in the ON clause.

- Add test for granting DB privilege.
2015-01-30 10:46:29 -05:00
David Norton d7814eb5f1 issue #1418: wire up revoke privilege 2015-01-30 10:46:29 -05:00
David Norton 5cfb8d9210 issue #1418: wire up grant permission 2015-01-30 10:46:29 -05:00
Philip O'Toole 9943f86cf4 Enable module-level logging 2015-01-29 15:07:58 -08:00
David Norton f827bf324a issue #1412: wire up show tag values 2015-01-29 15:01:25 -05:00
Ben Johnson 138474f9fe Add simple write series batching.
This commit adds a simple per-request batching of points during writes.
It sends all requests to the broker separately and in parallel and combines
the data at the end.

This is only a stop gap solution until we implement full batching.
2015-01-29 02:11:40 -05:00
David Norton f4383f330f issue #1411: fix result format 2015-01-28 21:33:19 -05:00
David Norton ae33bc99db issue #1411: wire up show tag keys 2015-01-28 21:33:19 -05:00
Cory LaNou 41cb753470 Need to custom unmarshal results 2015-01-28 15:44:49 -07:00
David Norton 4b8f9d8970 fix CREATE RETENTION POLICY ... DEFAULT 2015-01-28 14:27:05 -05:00
David Norton 204aad21d3 fix SHOW SERIES 2015-01-28 11:50:14 -05:00
Paul Dix 3ad3abaf64 Merge pull request #1398 from influxdb/show-queries
Show queries
2015-01-28 10:44:08 -05:00
Paul Dix 821d81c540 Remove writeseries band aid 2015-01-28 10:42:47 -05:00
Paul Dix d5c1406144 Fix locking on show queries 2015-01-28 10:41:10 -05:00
Ben Johnson c9a9f9b988 godoc 2015-01-28 03:59:02 -05:00
Ben Johnson c651fb497a Merge branch 'master' of https://github.com/influxdb/influxdb into normalize-query 2015-01-28 03:45:37 -05:00