Switch branches/tags
Commits on Jul 19, 2013
  1. Merge pull request #48 from heroku/refc-leak-quickfix

    ferd committed Jul 19, 2013
    Quickfix for logplex refc binary leak
  2. Quickfix for logplex refc binary leak

    ferd committed Jul 18, 2013
    This fix is temporary. It garbage collects the node once it
    reaches too high of a memory threshold in an attempt to protect
    against failure due to OOMs following refc binaries leak.
Commits on Jul 9, 2013
Commits on Jun 28, 2013
  1. Getting chunked encoding working

    ferd committed Jun 28, 2013
Commits on Jun 27, 2013
  1. Merge pull request #47 from heroku/canary_fetch

    omarkj committed Jun 27, 2013
    Merge Canary fetch to v69
  2. Added some tests for `canary_fetch`. Since logplex

    omarkj committed Jun 27, 2013
    doesn't use standard http to deliver the logs the
    body isn't tested in this test. That's something 
    I'd need to fix by writing a custom http client.
  3. Moving from crypto:md5/1 -> crypto:hash/2

    ferd committed Jun 27, 2013
    crypto:md5(Data) is getting deprecated in favour of
    crypto:hash(md5,Data) in R16B02, and R16B01 will be generating warnings
    for it.
    This is preemptively future-proofing the code so we can keep using
    warning-as-errors settings.
Commits on Jun 26, 2013
  1. Added a upgrade script for v69 (shard

    omarkj committed Jun 26, 2013
  2. Merge branch 'v68'

    ferd committed Jun 26, 2013
  3. Merge pull request #46 from heroku/shard_update

    omarkj committed Jun 26, 2013
    Changes applied to the branch, so I'm merging it in to the master.
Commits on Jun 25, 2013
  1. Check for the `LOGPLEX_NODE_NAME` variable and

    omarkj committed Jun 25, 2013
    connect to it rather then the local node if it is
    set. This is mostly used for testing.
  2. Removed the -s flag and added a -k flag to read

    omarkj committed Jun 25, 2013
    from the file. Also did a bit of refactoring to
    be able to reuse more code.
  3. Adding redgrid management escript

    ferd committed Jun 25, 2013
    The escript allows to do a few operations on redgrid:
    - get the redgrid process status
    - get a list of connected nodes according to redgrid
    - suspend redgrid (and unregister from it)
    - resume redgrid (and connect to it)
    The script connects as a hidden node.
Commits on Jun 21, 2013
  1. add canary fetch logs endpoint

    Tristan Sloughter
    Tristan Sloughter committed Jun 21, 2013
  2. Created a escript that updates shards in a running

    omarkj committed Jun 21, 2013
    logplex node.
  3. Added a shorthand to updating the single node, it

    omarkj committed Jun 21, 2013
    still uses the old functions but if the plan is to
    stop using them this should be refactored to not
    use rpc-style gen_server calls.
  4. Since there is now only one type of shard

    omarkj committed Jun 21, 2013
    replacement the atom that separated the old two
    types is now redundant.
  5. Removed unused and broken `one_for_one` shard

    omarkj committed Jun 21, 2013
Commits on Jun 18, 2013
  1. fixing test dependencies

    ferd committed Jun 18, 2013
    fix suite argument order also
  2. Updating rebar to newer version

    ferd committed Jun 12, 2013
  3. Allowing write concurrency on logplex_stats

    ferd committed Jun 12, 2013
    Logplex_stats is a table that receives a very large amount of writes for
    one big read every minute. We should be able to generally benefit by
    reducing contention on resources given pretty much all drains write to
    that table, at the cost of a slightly longer blocking time when reading.
  4. Partial support for cowboy 0.8.5

    ferd committed Jun 11, 2013
    Also upgrades the header on bad responses to contain the explanation
    instead of the generic HTTP message
  5. Requiring R16B

    ferd committed Jun 10, 2013
  6. Adding a way to unregister a channel

    ferd committed May 24, 2013
    Tests are included. The feature will be required when upgrading
    tcpsyslog drains from one kind to another -- the drain process itself
    will need to transfer the channel property to the drain buffer process,
    otherwise messages will be duplicated.
  7. Fixing bad shutdown in end_testcase

    ferd committed May 23, 2013
    The end per testcase function is common to multiple tests, but some of
    them do not use an active drain. This fix makes the end_per_testcase
    function blind to whether it exists or not.
  8. Remove stale code from http drains

    ferd committed May 22, 2013
    Had to do with runtime compatibility in older versions, no longer
  9. extend logplex_drain_buffer API

    ferd committed May 22, 2013
    allow to resize the buffer dynamically, which would be useful to support
    an API similar to the tcpsyslog one.
  10. Bad shutdown fix

    ferd committed May 22, 2013
    Part of tcpsyslog drains (when connected) were sensitive to a previous
    race condition on shutdown