Commit Graph

23 Commits (e74b941c7647f88083ffeca24c1662d2fca11442)

Author SHA1 Message Date
Paul Dix 97508402ee Move load database config to API
Fix #791 - Removed load database config options from the daemon. Created an API endpoint and updated test.
Fix #745 - Added definition of continuous queries to load database config.
Close #792
2014-08-01 16:09:00 -04:00
John Shahid 72fccdab6f Don't emit non existent fields when joining
Points in the joined series should have either the columns of the left
side or the columns of the right side of the join. Before this patch
join relied on merge to order the points of the two series and then join
consecutive points together. The merge emitted the union of the columns
of the two series, which caused the joined series to always have the
union of two series. This combined with the fact that the point's values
weren't adjusted to have nulls for the missing columns caused panic when
any operation is done on the points, e.g. addition.

Fix #740, Fix #781
2014-07-30 14:06:47 -04:00
John Shahid 3ebf536737 wait for servers to sync 2014-07-29 14:29:19 -04:00
John Shahid 3284662b35 Fix an integration test that has changed in 91078c0
Non admin database users shouldn't be able to drop series. See #736 for
more details
2014-07-23 12:00:18 -04:00
John Shahid 673a12257b Dry the fill() tests 2014-07-22 15:26:17 -04:00
Philip O'Toole c1e285383b Allow 'null' to be supplied as fill value
Add to unit tests to test fill, including new "null" support.

Fix #713.
2014-07-22 15:07:11 -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 c02cff22c5 Fix some bugs with retention policy of shard spaces
This commit fixes two bugs:

Don't try to parse "inf" retention policy when creating a shard
space. This caused a panic to be thrown when a shard space is created
with infinity. Fix #774

`getExpiredShards()` used shard duration to determine which shards are
expired but should be using shard retention duration instead. Close #769
2014-07-22 10:55:39 -04:00
John Shahid afe3f9607b Add the sentinel values for all db on creation
Fix #772
2014-07-21 13:36:08 -04:00
John Shahid 588e053e22 Merge pull request #766 from shugo/database_conf_fix
fix typo in integration/database_conf.json
2014-07-18 11:38:17 -04:00
John Shahid 5d4e2bbfc3 Fix the name of the config files in the integration test suite
Close #764
2014-07-18 11:37:11 -04:00
Shugo Maeda 87a68beb59 fix typo in integration/database_conf.json. 2014-07-18 11:09:19 +09:00
John Shahid b4d524a6b0 Fix the test to use client.ShardSpace 2014-07-17 14:57:37 -04:00
John Shahid 1e9e2152ed Do the check in one go 2014-07-17 13:46:47 -04:00
Shugo Maeda d74e71ca83 When a server is removed, its ID should be removed from shards. 2014-07-17 18:28:06 +09:00
Shugo Maeda 8646cb5a42 The attributes of a shard space should not be reverted to the defalut values when writing data into the shard space. 2014-07-17 14:13:15 +09:00
John Shahid ba79c9bdae Fix the integration test suite to use the cluster type structures 2014-07-15 10:16:15 -04:00
Paul Dix 1d27706265 Update datbase json to be idomatic 2014-07-14 19:40:14 -04:00
John Shahid 62857570a9 Use influxdb/influxdb/client instead of influxdb/influxdb-go 2014-07-14 19:20:30 -04:00
Paul Dix f336acc965 Update database conf to have proper order 2014-07-14 19:11:17 -04:00
John Shahid c84f24930f fix an integration test 2014-07-14 18:54:43 -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