Commit Graph

1600 Commits (5b9068ad05661037960dbb8bd02fc53631298c90)

Author SHA1 Message Date
John Shahid 5b9068ad05 Support milliseconds duration using `ms` prefix
Fix #255.
2014-07-11 14:33:14 -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
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
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
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 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 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
John Shahid dcc1c9a2e0 Fix #676. Allow for high precision integers to be stored correctly 2014-06-23 12:44:58 -04:00
John Shahid 00f71fad69 ignore the admin symlink
[skip ci]
2014-06-23 10:41:32 -04:00
John Shahid 20e7f3a840 Merge pull request #667 from influxdb/compression
Enable compression
2014-06-23 10:28:24 -04:00
John Shahid 7188032fbd Merge pull request #665 from dgnorton/master
Change to build process and a log message.
2014-06-23 10:28:13 -04:00
John Shahid 286a106d08 Fix the tags in the Makefile 2014-06-21 17:43:02 -04:00
John Shahid e6a18123be Fix the chunk response when compression is enabled 2014-06-21 17:16:51 -04:00
John Shahid 5b1d36f4a6 whitespace 2014-06-21 17:16:51 -04:00
John Shahid cde446df03 Enable compression on all GET requests 2014-06-21 17:16:51 -04:00
John Shahid 990fbdbcc6 Enable compression when posting time series data 2014-06-21 17:16:51 -04:00
John Shahid b114bd082b Merge remote-tracking branch 'refs/remotes/origin/pr/666' 2014-06-21 17:13:43 -04:00
John Shahid 1621876a65 Use our fork of gomdb 2014-06-21 17:13:21 -04:00
John Shahid 86a28be428 Fix #670. Redirect output to /dev/null 2014-06-21 16:18:15 -04:00
Paul Dix e83482d666 Change default max-open-files to 1000 because the low setting is making too many people sad. 2014-06-21 10:29:07 -04:00
Howard Chu 6165d819c8 Use cursors for batch writes 2014-06-20 18:42:41 -07:00
Howard Chu af1c7c6c26 Add -path option
To use something other than /tmp for the data files
2014-06-20 18:41:54 -07:00