Commit Graph

149 Commits (1cbbaa9317cb5473fbb432cc533ff52bbcdd7504)

Author SHA1 Message Date
John Shahid 6802eda768 Rename MergeFun to MergeRegex 2014-10-22 17:58:04 -04:00
John Shahid cace54d8c8 Make sure the query string has valid regex and add a test 2014-10-22 16:41:08 -04:00
John Shahid 78b99f60c6 Merge points at the shard level 2014-10-21 17:57:13 -04:00
John Shahid 465614c173 Modify merge to work with regex 2014-10-21 17:57:13 -04:00
David Norton ef50442d9d Fix #1040: fix panic when snapshot dir doesn't exist 2014-10-20 20:17:02 -04:00
David Norton 5e9750f7a6 Revert to older snapshots if the latest raft snapshot is corrupted
Fix #1040
2014-10-20 18:37:39 -04:00
Todd Persen 9f89aaeb26 Aggregating by time should respect the natural boundaries of the argument.
Fix #387
2014-10-20 15:24:39 -04:00
Ben Johnson 2e01f603e9 Merge branch 'master' of https://github.com/influxdb/influxdb into streaming-raft 2014-10-16 13:33:02 -06:00
John Shahid 4c655ddc3d fixup! Querying for data outside of existing shards should return an empty response. 2014-10-15 12:27:15 -04:00
Todd Persen f16f4b6639 Querying for data outside of existing shards should return an empty response.
Fix #1004. Close #1023
2014-10-14 12:59:47 -04:00
Ben Johnson 4dd03b6e06 Add influx log. 2014-10-01 20:49:21 -06:00
John Shahid 706282faf6 fix a merge conflict that wasn't caught in 0ca44c9 2014-09-24 19:04:11 -04:00
John Shahid 0ca44c906d Merge branch '0.8'
Conflicts:
	api/http/api.go
	cluster/cluster_configuration.go
	cluster/cluster_configuration_test.go
	coordinator/coordinator.go
	engine/aggregator_operators.go
	engine/common_merge_engine.go
	integration/data_test.go
	parser/parser.go
2014-09-24 18:55:19 -04:00
Paul Dix 7f8c4778f6 Move cluster config from raft to API.
Fixes #853. Close #854. Previously, there was an unprotected endpoint in
raft to return the cluster config that would include user hashes. This
endpoint is useful for debugging purposes so I restructured it and moved
it to the API. It ensures the requesting user is a cluster admin.

Cluster config will now return all of the cluster state including
servers, CQs, shards, etc.

Conflicts:
	integration/single_server_test.go
2014-09-24 17:40:29 -04:00
John Shahid 9b9ac93652 Fix parsing of multiple queries
Fix #885
2014-09-24 17:25:19 -04:00
Paul Dix f0c0abdb10 Add option to include space to series mappings in list series query.
Fixes #867. Close #927. Updated lexer and parser to work, added code to
coordinator to insert spaces if requested. Now the user can request the
shard spaces. `list series include spaces`
2014-09-11 11:28:18 -04:00
Paul Dix 39091fc8fd Move cluster config from raft to API.
Fixes #853. Close #854. Previously, there was an unprotected endpoint in
raft to return the cluster config that would include user hashes. This
endpoint is useful for debugging purposes so I restructured it and moved
it to the API. It ensures the requesting user is a cluster admin.

Cluster config will now return all of the cluster state including
servers, CQs, shards, etc.
2014-09-08 14:31:56 -04:00
Paul Dix 6ddfba6e32 Add ability to update existing shard spaces.
This will help users recover from #886. It's dangerous functionality because it only changes the metadata. Will document and tell people to use with caution.
2014-09-08 14:18:32 -04:00
Paul Dix a62e8c8b4c Add ability to update existing shard spaces.
This will help users recover from #886. It's dangerous functionality because it only changes the metadata. Will document and tell people to use with caution.
2014-09-05 16:24:00 -04:00
John Shahid c45960aa1f use gocheck in the coordinator benchmark 2014-09-04 15:24:57 -04:00
John Shahid e42bb3de3c Add some documentation 2014-09-03 15:10:43 -04:00
John Shahid 0a0b14ba23 Remove more constants 2014-09-03 15:10:43 -04:00
John Shahid 18dde750ab Cleanup the creation of engine processors 2014-09-03 15:10:43 -04:00
John Shahid 2a997d2648 Clean up 2014-09-03 15:10:43 -04:00
John Shahid 843c16e196 Write to the buffer instead of using append 2014-09-03 15:10:43 -04:00
John Shahid 500eccc503 No need for a function variable 2014-09-03 15:10:43 -04:00
John Shahid c2d01e1f2d Simplify the response types 2014-09-03 15:10:43 -04:00
John Shahid 93e75e4c13 Add some logging 2014-09-03 15:10:43 -04:00
John Shahid 4383375fe8 Split the different engines in their own types 2014-09-03 15:10:43 -04:00
John Shahid d68a798454 Move permission checking to permissions 2014-09-03 15:10:43 -04:00
John Shahid f44b83f3ae Use separate file 2014-09-03 15:10:43 -04:00
John Shahid d696e5493c Remove some cruft 2014-09-03 15:10:43 -04:00
John Shahid bb710e0977 Get rid of the unnecessary extra argument 2014-09-03 15:10:42 -04:00
John Shahid 598dcdb7fd Don't overuse interfaces if there's no benefit 2014-09-03 15:10:42 -04:00
John Shahid 9c811a1761 Some cleanup 2014-09-03 15:10:42 -04:00
John Shahid 87b4554149 Merge pull request #887 from influxdb/fix-887
If the first continuous query to ever run on InfluxDB had backfill(false) InfluxDB will still backfill the data
2014-09-02 13:41:01 -04:00
John Shahid 127249229d Don't accidentally trigger continuous query backfilling 2014-09-02 13:27:09 -04:00
John Shahid e662262722 Merge pull request #856 from rubenk/fix-typo
Fix a few typos
2014-08-29 13:20:25 -04:00
oliveagle 9117ae789b GetLeaderRaftConnectString returns consistent result 2014-08-22 01:30:48 +08:00
Ruben Kerkhof 471e6a2c80 Fix a few typos 2014-08-21 16:22:14 +02:00
oliveagle 8fdd988226 makes listServers api more informative 2014-08-19 17:09:23 +08:00
Paul Dix 5403baffd3 Add data migration 0.7 -> 0.8
Close #809. Fix #746
2014-08-15 13:20:49 -04:00
John Shahid 34732ad598 Fix the build 2014-08-12 14:50:55 -04:00
John Shahid 49122da251 List series should support filtering by a regex 2014-08-11 16:59:11 -04:00
John Shahid 8607a60fe0 Make sure we remove the shard metadata whenever it expires 2014-08-07 13:10:12 -04:00
John Shahid e349e22d42 Fix a unit test that has changed in 91078c0
Non admin database users shouldn't be able to drop series. See #736 for
more details
2014-07-22 15:54:16 -04:00
John Shahid 91078c0d21 Non admin database users shouldn't be able to drop series
Fix #736
2014-07-22 13:33:51 -04:00
John Shahid 39ea797dcd Fix #690. Use idiomatic go project structure
Conflicts:
	cluster/cluster_configuration.go
	cluster/shard.go
	coordinator/command.go
	coordinator/coordinator_test.go
	coordinator/raft_server.go
	daemon/influxd.go
	datastore/shard.go
	integration/single_server_test.go
	parser/query_spec.go
	server/server.go
2014-07-14 18:47:37 -04:00
John Shahid e5276112c1 Restructure the codebase to be more idiomatic 2014-06-30 11:31:08 -04:00