Commit Graph

90 Commits (cdff90865559c42a41b16dc8b46194f10e8a1bf2)

Author SHA1 Message Date
John Shahid 2f3915c1da bump the timeout to 20m :( 2014-09-24 18:06:03 -04:00
David Norton ccde51541c Fix sed getting confused by / in TMPDIR path
Fix #946. Close #948
2014-09-24 18:06:03 -04:00
John Shahid 490c51e986 move the linker flags to profiler.go 2014-09-24 17:49:43 -04:00
John Shahid 5a1879f49f Fix the packaging to work on our release box 2014-09-05 13:43:46 -04:00
John Shahid 24395df479 Add flymake targets 2014-08-15 13:47:01 -04:00
John Shahid f1f575dd9a Fix travis 2014-07-22 12:31:35 -04:00
Your Name 1f180dcca5 fix the build on centos to use recent rocksdb and statically link stdc++ 2014-07-15 20:50:33 -04:00
John Shahid aeb21aadd8 check if -lrt is needed for clock_gettime 2014-07-15 15:48:06 -04:00
John Shahid 796f922c10 Move some files around and delete ones we don't need 2014-07-15 12:27:44 -04:00
John Shahid 2833930b38 don't delete the admin directory 2014-07-15 10:59:40 -04:00
John Shahid 7151db2ae2 when packaging use the new names 2014-07-15 10:52:07 -04:00
John Shahid 8dc5303764 build the protobuf go generator if it doesn't exist 2014-07-15 10:31:24 -04:00
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 62857570a9 Use influxdb/influxdb/client instead of influxdb/influxdb-go 2014-07-14 19:20:30 -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 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 e5276112c1 Restructure the codebase to be more idiomatic 2014-06-30 11:31:08 -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 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 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 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 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 1621876a65 Use our fork of gomdb 2014-06-21 17:13:21 -04:00
David Norton 16781e365f Made build tmp directory configurable via TMPDIR.
The build process was originally hard coded to use /tmp but some
systems mount /tmp with noexec, causing the build to fail.  This
change allows the user (optionally) to specify a tmp dir.  E.g.,

TMPDIR=~/tmp make
2014-06-19 23:28:56 -04:00
John Shahid 4c704f078d conditionally build hyperleveldb 2014-06-19 17:46:56 -04:00
John Shahid 8c65dbcb20 Disable hyperleveldb and rocksdb on Mac 2014-06-19 17:41:18 -04:00
John Shahid 0057fb6e79 fix the awk in the make file 2014-06-19 10:27:54 -04:00
John Shahid a8b81d0c43 Check for the libz, libbz2 and g++-4.7 before building 2014-06-19 10:23:16 -04:00
John Shahid 2563cc56f5 Make rocksdb optional, since we can't build it on travis 2014-06-18 15:26:05 -04:00
John Shahid a9b1bdf4bd Add support for hyperleveldb 2014-06-18 15:16:24 -04:00
John Shahid 7ce4b9477d Add support for rocksdb 2014-06-18 15:15:45 -04:00
John Shahid 319e6a4735 Abstract storage engines
This commit create a storage engine interface and modify shards to use
interface instead. It also adds a B-Tree implementation and benchmark
tool to compare the performance of the different storage engines.
2014-06-18 12:42:23 -04:00
Edward Muller 3215453fde Protect protobuf client from simultaneous calls to reconnect()
Thanks to @freeformz for noticing this bug. Previously reconnect()
acquired a lock on entry, but that didn't protect us from a situation
where reconnect() is called twice in a row. The first time, a new
connection will be established but the second call will disconnect this
connection and open a new one. This can cause unexpected results since
the request sent on the first connection may not get a chance to receive
a response before the second call to reconnect() closes the connection.
2014-06-11 14:19:54 -04:00
John Shahid 100d6296eb update the name of the package 2014-05-28 19:33:45 -04:00
Bruno Binet 4e1006288b Close #476. update makefile to add support for arm builds 2014-05-23 20:46:11 -04:00
John Shahid 2d11e2271c Use the abbreviated commit sha 2014-05-13 17:00:20 -04:00
John Shahid 93e25713ad Merge remote-tracking branch 'origin/pr/434'
Conflicts:
	src/integration/benchmark_test.go
2014-04-17 17:08:09 -04:00
Mitchell Bradd c25e8165fd typo in Makefile.in 'clean' target 2014-04-14 10:53:50 +10:00
Mitchell Bradd 6a7839c7de fix #423. rename config sample config.{toml.sample => sample.toml} 2014-04-14 10:41:51 +10:00
John Shahid fa9361f5d6 add some packages to the makefile 2014-04-07 16:45:26 -04:00
John Shahid 3a946843d8 upgrade to leveldb 1.15 2014-04-01 11:48:07 -04:00