Commit Graph

2383 Commits (cdff90865559c42a41b16dc8b46194f10e8a1bf2)

Author SHA1 Message Date
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
Paul Dix b9a98c2324 Add replication factor to shard space 2014-07-10 06:44:45 -04:00
Paul Dix 0bb03a5e89 Add comment to describe shard duration 2014-07-09 22:36:49 -04:00
Paul Dix c03dbae65e Add shard duration 2014-07-09 22:35:16 -04:00
Paul Dix 91c6ca30ce Add methods for working with shard spaces 2014-07-09 19:53:05 -04:00
John Shahid 8a101600e1 Merge pull request #723 from chobie/fix-669-cast-to-value_array
cast *C.value_array from *C.struct___0 #699
2014-07-09 13:03:12 -04:00
Shuhei Tanuma 133be2cec2 cast *C.value_array from *C.struct___0 #699 2014-07-09 12:16:35 -04:00
John Shahid 3fe0444f5c Update the change log
[skip ci]
2014-07-08 08:41:53 -04:00
Paul Dix 2b9d32cf56 Close #716. Fix #702. don't panic when dropping non-existent shard
The server would crash if you attempted to drop a shard multiple times.
It would also cause a problem on restart if a shard was dropped, but the
server restarted before a raft log compaction.
2014-07-07 10:22:08 -04:00
John Shahid 4046c4576d Fix #12. Disable compression by default
Compression doesn't work on the latest released server. Until the server
is released we have to disable compression.
2014-07-03 09:33:42 -04:00
Dhammika Pathirana 76c50248b4 Close #682. Add backfill option to into clause parser
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
2014-07-01 13:44:12 -04:00
John Shahid 39acc2953f Fix a broken test 2014-07-01 13:44:12 -04:00
Raphael Randschau e5de7d332c Close #684. Return the permissions when listing a db user 2014-07-01 12:33:23 -04:00
niko 9508c16834 Close #695. Detect duplicate field names 2014-06-30 14:31:54 -04:00
John Shahid 94819a0f63 remove exports.sh which is unused 2014-06-30 14:31:54 -04:00
Maxim Kremenev cb217c6cd6 Close #10. Add udp support 2014-06-30 11:55:44 -04:00
John Shahid 76285b6fc3 use go 1.2.1 and 1.3 on travis 2014-06-30 11:31:08 -04:00
John Shahid e5276112c1 Restructure the codebase to be more idiomatic 2014-06-30 11:31:08 -04:00
John Shahid 397de00ad2 Merge pull request #687 from mdlayher/master
Fix typo and trim trailing whitespace in config.toml
2014-06-27 16:01:23 -04:00
John Shahid f3ecb1e6e5 Don't clean the makefile 2014-06-27 10:57:40 -04:00
John Shahid 4493b01d12 Don't sed leveldb, hyperleveldb or rocksdb 2014-06-27 10:53:49 -04:00
John Shahid 9bcba037e6 Merge pull request #11 from pmbauer/master
handle http get error in GetShards
2014-06-26 11:48:03 -04:00
Paul M Bauer 9506cbbe8d handle http get error in GetShards
Otherwise, the error that's returned is from json.Unmarshal and doesn't
indicate the root cause
2014-06-25 15:37:50 -07:00
John Shahid dc2cb48952 Fix the udp api to use json.UseNumber() 2014-06-25 14:09:34 -04:00
Matt Layher 61cbbd3cab Fix typo and trim trailing whitespace in config.toml 2014-06-24 22:59:47 -04:00
John Shahid cb7d361265 Clean should clean the temp directories and all ignored files 2014-06-24 21:52:37 -04:00
John Shahid d645933d18 Fix the build so hyperleveldb, rocksdb and leveldb all use snappy 2014-06-24 19:21:45 -04:00
John Shahid 53eefdd085 don't build the shared rocksdb library 2014-06-24 17:13:21 -04:00
John Shahid 857c7a9da0 Add QueryWithNumber to the api 2014-06-24 16:35:12 -04:00
John Shahid 792468dbcc Don't compile hyperleveldb and rocksdb with snappy for now 2014-06-24 16:18:33 -04:00
John Shahid a70489620f Fix the tests to work with ints and floats properly 2014-06-23 16:06:22 -04:00
Mark Rushakoff 083c30d050 Close #677. Extract coordinator.Permissions
All ClusterAdmins now qualify as DbAdmins too.
2014-06-23 14:58:43 -04:00
John Shahid 574646bb2d Use absolute path of gofmt
[skip ci]
2014-06-23 14:44:05 -04:00
John Shahid 2204fba248 Fix #672. Build hyperleveldb and rocksdb with snappy support 2014-06-23 14:37:57 -04:00
John Shahid 96d26222c6 Add vet target to Makefile and trivial cleanup 2014-06-23 14:01:53 -04:00
John Shahid e586916371 Close #680. Format our code base 2014-06-23 13:25:59 -04:00
John Shahid 9dac392f26 add a pre-commit hook 2014-06-23 13:25:59 -04:00
John Shahid 17832294d2 Add format and check to the makefile 2014-06-23 13:25:52 -04:00
John Shahid 5a3ea36b65 update the changelog 2014-06-23 12:48:12 -04:00