Commit Graph

2321 Commits (5403baffd3764ec7eada4cd223395649c9a45aee)

Author SHA1 Message Date
John Shahid 427ea50b29 force the output to go to the expected file name even with redirects 2014-07-15 10:16:15 -04:00
John Shahid ba79c9bdae Fix the integration test suite to use the cluster type structures 2014-07-15 10:16:15 -04:00
John Shahid c83fbce071 change the default storage engine to RocksDB 2014-07-15 10:16:15 -04:00
Paul Dix 510b5580e1 Update CHANGELOG.md 2014-07-15 10:15:58 -04:00
John Shahid d40a196234 Use the same ShardSpace in the server and client 2014-07-14 19:41:13 -04:00
Paul Dix 1d27706265 Update datbase json to be idomatic 2014-07-14 19:40:14 -04:00
Paul Dix 25c1097b93 Update CHANGELOG.md 2014-07-14 19:36:02 -04:00
Paul Dix ecb42f8607 Update CHANGELOG.md 2014-07-14 19:31:35 -04:00
John Shahid 62857570a9 Use influxdb/influxdb/client instead of influxdb/influxdb-go 2014-07-14 19:20:30 -04:00
John Shahid b3038c0b7f Merge branch 'master' of github.com:influxdb/influxdb 2014-07-14 19:11:44 -04:00
Paul Dix f336acc965 Update database conf to have proper order 2014-07-14 19:11:17 -04:00
John Shahid 941bc97e9d delete the client license and gitignore 2014-07-14 19:10:32 -04:00
John Shahid a915bf5e87 Subtree merged client code 2014-07-14 19:09:26 -04:00
Paul Dix be250db19b Have the server periodically clear out old shards 2014-07-14 18:55:49 -04:00
John Shahid c84f24930f fix an integration test 2014-07-14 18:54:43 -04:00
John Shahid aac69f02c5 Remove a Printf 2014-07-14 18:47:37 -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
Paul Dix e798e2b9b5 Update CHANGELOG.md 2014-07-14 18:30:11 -04:00
John Shahid 9819282779 Merge branch 'retention-policy' 2014-07-14 18:26:45 -04:00
John Shahid 4be5fc70f4 use one field instead of two in the test 2014-07-14 18:25:50 -04:00
Paul Dix 9993b1847c Add command line option to load a database configuration. 2014-07-14 18:25:50 -04:00
John Shahid 2c9ccd754a Return an error if there are no shards to query 2014-07-14 18:25:50 -04:00
John Shahid d59975bad1 Get rid of the shards slice 2014-07-14 18:25:50 -04:00
Paul Dix a497ce21a1 Add Shard Spaces and Retention Policies
Fixes #571. Removed the old long term and short term shards. Now if the
user doesn't manually create a shard space, a catchall called "default"
will be created the first time they write data in.

Added API endpoints to list, create, and delete shard spaces. Made a
breaking change to the old get shards API by changing the format since
shortTerm and longTerm shards aren't guaranteed to be present.

Shard spaces can be mapped to a single database. Retention policies are
enforced per server by a background routine that periodically checks
shards in spaces that have retention policies to see if they have passed
their expiration.
2014-07-14 18:24:45 -04:00
John Shahid 23dc106e26 update the CreateShardSpace to not include db in the url 2014-07-14 13:15:16 -04:00
John Shahid 7d5d7e5743 Merge pull request #13 from apg/versiontest-typo
Compare to the reference version, not the equivalent version.
2014-07-14 12:28:55 -04:00
Andrew Gwozdziewycz 6474f81880 Compare to the reference version, not the equivalent version. 2014-07-14 12:25:08 -04:00
John Shahid 27a6e3a1a2 Merge pull request #735 from otoolep/ignore_vim_temp
Ignore temp files generated by vim
2014-07-14 11:57:32 -04:00
Paul Dix 5bf7479f00 Fix json marshal, add database to space 2014-07-14 11:56:30 -04:00
Philip O'Toole a6750fdba4 Ignore vim temp files 2014-07-12 22:51:28 -07:00
Paul Dix 3a4cdf8146 Add fix on version check for in development versions 2014-07-12 15:49:12 -04:00
John Shahid 91d9d4ac62 Don't link the rc versions to latest when uploading the packages 2014-07-11 17:26:11 -04:00
John Shahid 58f132d1d6 Parse shards depending on the version of InfluxDB 2014-07-11 15:55:30 -04:00
Paul Dix b4eb6b74bd Add database as part of the API 2014-07-11 15:30:18 -04:00
John Shahid c6c97ec757 update the changelog
[skip ci]
2014-07-11 15:28:50 -04:00
John Shahid 5b9068ad05 Support milliseconds duration using `ms` prefix
Fix #255.
2014-07-11 14:33:14 -04:00
Paul Dix 04ce6a26a4 Update drop shard space to take database name 2014-07-11 14:22:57 -04:00
John Shahid 0b6371e431 Writes to non replicated shards shouldn't be buffered or use the WAL
Currently all writes (unless synchronous) have to go through the write
buffer and the WAL in order to guarantee proper replication. This commit
changes the behavior for shards that aren't replicated.

Fix #734.
2014-07-11 13:52:18 -04:00
John Shahid 3fb936f43a Graphite plugin should work with payload that are whitespace delimited
Previously the graphite plugin required payloads to be space delimited
and didn't like tabs. This commit breaks the payload using any
whitespace delimiter. Fix #707.
2014-07-11 12:09:22 -04:00
John Shahid 0243d788f2 Update the changelog
[skip ci]
2014-07-11 12:04:53 -04:00
John Shahid 191b57520c Do not start the UDP input plugin if it's disabled
Also print an INFO message when the input plugin is disabled.
Fix #731. Fix #733.
2014-07-11 12:01:34 -04:00
John Shahid dfaea578c2 update the changelog
[skip ci]
2014-07-10 18:24:05 -04:00
John Shahid 0a4f714502 Merge pull request #689 from influxdb/fix-414-NEW-move-series-metadata-to-raft
Move series metadata to raft
2014-07-10 18:20:30 -04:00
Paul Dix 9c12fb7ed8 Move time series metadata to Raft
Fixes #414. All series metadata, that is which series exist, what columns they have, and what the ids of those columns has been moved into Raft.

This means that list series queries are now very fast since they operate on an in memory data structure. It also means that writes no longer have to do gets agains the storage engine to resolve what a column's id is.

Fixes #358. List series now returns as a single series with a `name` column.

This fix has the potential to slow things down in scenarios that people suddenly write many thousands of new series in less than a second. That's because the definition of new series now needs to go through the raft leader and get consensus. I think it's unlikely that it'll be a problem, but we'll need to do extensive testing.

Finally, there is the issue that the Raft snapshots can potentially become big. We should do testing with setups that have millions of series to ensure that performance and startup time remain good.
2014-07-10 18:17:27 -04:00
Paul Dix 0b13c221ac Change ShardSpace to SpaceName for consistency with server side 2014-07-10 14:41:28 -04:00
Paul Dix bdea460f06 Ugh, marshal needs a pointer, derrrr 2014-07-10 14:35:15 -04:00
Paul Dix ac2e0a6a8c Fix marshal of GetShardSpaces 2014-07-10 13:55:21 -04:00
Paul Dix d174bc23b3 Change GetShardSpacesAndShards to just GetShardSpaces 2014-07-10 13:21:59 -04:00
Paul Dix 025251198a Add v2 version of getshards 2014-07-10 11:59:55 -04:00
Paul Dix d0873fb17e Add split to shard space 2014-07-10 10:10:10 -04:00