Commit Graph

2442 Commits (ad735ad1cd907aa9dd407e195f0e50f25a2bd9e4)

Author SHA1 Message Date
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 #651 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 #646 from influxdb/fix-640-duplicate-shard-ids
Fix #640. Update cluster config to track the last used shard id and incr...
2014-06-13 17:53:37 -04:00
Paul Dix 00cf2d6c1d Fix #640. 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 #637. 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 #636. 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 #626 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 #620 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 #618. Close #617. Close #616. Close #615. Close #614
2014-06-03 11:35:46 -04:00
John Shahid 773cf45cf9 Fix #608. 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 #612 from freeformz/fix_benchmark_mistake
Fixes a bug I introduced with SSL for testing

[skip ci]
2014-06-02 16:16:48 -04:00
John Shahid 709a7a5ba4 Merge pull request #613 from freeformz/benchmark_error_formatting
Print Error()

[skip ci]
2014-06-02 16:15:46 -04:00
Edward Muller a3294e8541 Print Error() 2014-06-02 13:14:02 -07:00
Edward Muller b3181536f5 Fixes a bug I introduced with SSL for testing 2014-06-02 13:12:23 -07:00
John Shahid 63c2be704d update the changelog
[skip ci]
2014-05-30 20:04:36 -04:00
John Shahid 5485d290a5 Disable the second argument of the MODE aggregation 2014-05-30 20:04:36 -04:00
John Shahid 3ecd697909 Add MODE tests and fix a bug 2014-05-30 20:04:35 -04:00
John Shahid 7b194318a2 DRY and modify the code to be idiomatic 2014-05-30 20:04:35 -04:00
Richard Lyon cc5a5e86bd Close #521. Allow MODE to work on all datatypes
This change allows MODE to work on string as well as boolean and null
values. It also introduce another numerical argument that specifies how
many modal values it will return (although it is disabled)
2014-05-30 20:03:27 -04:00
John Shahid 527517b724 update the changelog
[skip ci]
2014-05-30 19:12:24 -04:00
John Shahid a3d8b3786e query isn't always a select query 2014-05-30 19:11:30 -04:00
John Shahid 70fb954d44 Fix some log statements 2014-05-30 18:55:56 -04:00
John Shahid caa8481cb8 Fix #602. Merge will fail to work across shards 2014-05-30 18:52:13 -04:00
John Shahid 7c753e671e update the changelog 2014-05-30 18:51:32 -04:00
Edward Muller 7ddccac219 Close #605. reduce some duplication
[skip ci]
2014-05-30 18:33:52 -04:00
John Shahid d40ed03272 No redirect to log.txt and log instead of writing to stderr 2014-05-30 18:13:17 -04:00
John Shahid af78db4761 Run the query as root 2014-05-30 16:34:55 -04:00
Paul Dix e43d07bc05 Update CHANGELOG.md 2014-05-30 15:20:07 -04:00
Paul Dix de0a938d6b Merge pull request #418 from influxdb/fix-418-break-large-requests
We shouldn't send requests or responses that are larger than MAX_REQUEST_SIZE
2014-05-30 15:16:34 -04:00
John Shahid 7498a363be Fix a broken test 2014-05-30 14:11:31 -04:00
John Shahid c89a6d31db Fix the logic that breaks the repsonse 2014-05-30 13:50:37 -04:00
John Shahid b626345070 Use GetClient in the test to get a client with the right port 2014-05-30 13:50:37 -04:00
John Shahid e9b2ce5677 Use Size() instead of encoding 2014-05-30 13:50:37 -04:00
John Shahid 6e46865095 Fix #418. Make sure none of the writes exceed 2M 2014-05-30 13:50:37 -04:00
Paul Dix b5bb03895b Merge pull request #603 from freeformz/ssl_all_the_things
Use SSL if the config calls for it
2014-05-30 13:37:18 -04:00
Edward Muller add2df5378 Use SSL if we have the config for it 2014-05-30 08:52:10 -07:00
Paul Dix 791215d0cf Merge pull request #601 from freeformz/benchmark_changes
Seems like you were emulating a WaitGroup anyway...
2014-05-30 11:33:44 -04:00