Commit Graph

1677 Commits (510b5580e1b81036462941a1a13194aba77d5687)

Author SHA1 Message Date
Howard Chu af1c7c6c26 Add -path option
To use something other than /tmp for the data files
2014-06-20 18:41:54 -07:00
John Shahid f454946b67 Make compression configurable in the client 2014-06-20 17:37:22 -04:00
Howard Chu 59116761f5 Fix delete 2014-06-20 12:42:21 -07:00
David Norton ef0f5eb25f Make start udp server log message more detailed.
Originally it logged the same message when either the port or database
config settings were wrong.  Now it logs which setting was wrong.
2014-06-19 23:30:59 -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 0fe044ea5b Merge pull request from bcrisp/master
Updating documentation links to latest version

[skip ci]
2014-06-19 11:09:25 -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
Brandon Crisp 1790b18d96 Update README.md
Fixing broken "libraries for different languages" link.
2014-06-18 14:58:13 -07:00
Brandon Crisp f6735c8306 Update README.md
Bumping docs version from 0.6 to 0.7 (current release)
2014-06-18 14:53:56 -07:00
John Shahid 19c4dd181b update the changelog
[skip ci]
2014-06-18 15:42:38 -04:00
John Shahid 97d8bcffdb Merge branch 'b-tree'
This branch includes the following work:

- Abstraction of the storage engine
- HyperLevelDB, RocksDB and LMDB implementations
- Storage benchmarking tool
2014-06-18 15:31:45 -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 cfc4525810 fix the directory 2014-06-18 15:16:25 -04:00
John Shahid 390eee1b95 Don't close the cache which could still be used 2014-06-18 15:16:25 -04:00
John Shahid 994bc20488 fix the timing of the second write 2014-06-18 15:16:25 -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 18b3b4f8a2 keep track of the database type 2014-06-18 12:43:24 -04:00
John Shahid ffbe9be48a Remove LevelDb from the shard and the shard data store 2014-06-18 12:43:24 -04:00
John Shahid d790a723cf Make the storage engine selectable from the config file 2014-06-18 12:43:23 -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
Philip O'Toole c89f03d751 Close . Support pretty-print of JSON via HTTP API 2014-06-18 12:06:10 -04:00
John Shahid 1e8c746e5a Fix a typo
[skip ci]
2014-06-18 11:35:36 -04:00
John Shahid 7fac139386 Fix influxdb on 32 bit arch 2014-06-18 11:03:45 -04:00
John Shahid 2408ac86e6 update the changelog
[skip ci]
2014-06-16 14:51:32 -04:00
John Shahid 39fb8d21d9 Merge pull request from Dieterbe/patch-1
follow symlinks
2014-06-16 14:50:17 -04:00
Dieter Plaetinck fda4194ac0 follow symlinks
for people that have a symlink, such as /opt/influxdb/shared/data as a link to a datadir on a different volume, this makes sure the ownership is reset there too.
otherwise you can get influxdb to panic due to incorrect permissions (happened to me)
2014-06-16 14:41:27 -04:00
Paul Dix 216a3eb21d Update CHANGELOG.md 2014-06-13 18:03:52 -04:00
Paul Dix d2999d08eb Update CHANGELOG.md 2014-06-13 18:02:16 -04:00
John Shahid 06b8743145 Update CHANGELOG.md 2014-06-13 17:54:53 -04:00
John Shahid 28119db103 Merge pull request from influxdb/fix-640-duplicate-shard-ids
Fix . Update cluster config to track the last used shard id and incr...
2014-06-13 17:53:37 -04:00
Paul Dix 00cf2d6c1d Fix . Update cluster config to track the last used shard id and increment for new ones 2014-06-13 17:50:05 -04:00
Paul Dix a678aa4da4 Fix delWithBody method to take an interface of io.reader 2014-06-13 17:34:00 -04:00
John Shahid 21bb706878 Update the changelog 2014-06-13 16:31:28 -04:00
John Shahid d3ffeccbcf Fix . Truncate log file if the last request wasn't written properly 2014-06-13 16:30:28 -04:00
Paul Dix 33a5c6540c Add dropshards 2014-06-13 16:20:07 -04:00
Paul Dix 84685bb138 Make getshards return objects 2014-06-13 14:00:59 -04:00
Paul Dix 687a2d99bf Add method to get shards 2014-06-12 16:59:50 -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
Rahji Abdurehman ba94bd4de5 Close . Support `ms` as well as `m` as time precision when querying 2014-06-11 12:41:37 -04:00
John Shahid 203009a43c Merge pull request from pmenglund/master
extract init config file into a variable
2014-06-09 13:28:25 -04:00
Martin Englund 5e1411a1f3 extract init config file into a variable 2014-06-05 11:18:22 -07:00
John Shahid b7fc984711 Merge pull request from freeformz/use_interval
Use the heartbeat interval as the timeout
2014-06-04 13:53:18 -04:00
Edward Muller 9aa26e1ff5 Use the heartbeat interval as the timeout
Bump the test configs to 1000ms (1s) for now

FWIW: Something wrong is going on here, but I haven't been able to
figure it out
2014-06-03 19:42:11 -07:00
Edward Muller 8bd802ff5b Cleanup (Thanks, @freeformz)
Close . Close . Close . Close . Close 
2014-06-03 11:35:46 -04:00
John Shahid 773cf45cf9 Fix . Fix merge when one of the series doesn't yield any points 2014-06-02 17:11:49 -04:00
John Shahid 0ff03ba822 Merge pull request from freeformz/fix_benchmark_mistake
Fixes a bug I introduced with SSL for testing

[skip ci]
2014-06-02 16:16:48 -04:00