Permalink
Switch branches/tags
Commits on Apr 16, 2013
  1. v63 -> v64 upgrade script

    bgentry committed Apr 15, 2013
  2. Merge pull request #35 from heroku/fix-tail-bug

    bgentry committed Apr 16, 2013
    Fix tail bug
Commits on Apr 15, 2013
  1. check Ps size as bytes

    bgentry committed Apr 15, 2013
  2. check Data size as an iolist

    bgentry committed Apr 15, 2013
Commits on Apr 12, 2013
  1. Upgrade path for nsync in v63

    ferd committed Apr 12, 2013
  2. Updating nsync dependency.

    ferd committed Apr 12, 2013
    Moving to a commit form so that the version is stable and unlikely to be
    broken by changes in branches that end up being unstable.
    
    This new nsync version adds fixes to the RDB format and detection of
    idle connections where a redis instance might have been stuck.
Commits on Apr 10, 2013
  1. Merge branch 'v62'

    ferd committed Apr 10, 2013
Commits on Apr 9, 2013
  1. Simplifying CT suite running

    ferd committed Apr 9, 2013
    - Won't fail to report info on a failure
    - Will allow custom test run with logplex.spec
    - doc is updated
  2. Fixing framing for L10 messages

    ferd committed Apr 9, 2013
Commits on Apr 8, 2013
  1. live update code for v62

    ferd committed Apr 8, 2013
  2. Adding test using framing funs for HTTP drain

    ferd committed Apr 8, 2013
    verifies the formatting of messages with a bit more depth, although it
    still doesn't try to parse them on the receiving end.
  3. Better accuracy of dropped frames for HTTP drains

    ferd committed Apr 5, 2013
    This patch moves the counting of lost messages outside of the drain
    buffer and brings it into the HTTP drain itself, which will treat
    them as a new message part of its queue, to be produced once the queue
    is empty and no errors happened while sending other messages.
    
    This frame will contain the accumulated errors for all previous frames
    (lost while parsing, and lost while trying to send and failing after too
    many retries or malformed requests).
    
    The patch also removes bits of dead code here and there, and adds tests,
    which add a dependency for meck. The dependency will never be part of
    the standard compile path, and so a new test config has been created: it
    mirrors the regular config, but allows specific dependencies not to be
    included in production.
    
    The new way to build tests has been documented.
Commits on Apr 2, 2013
  1. Upgrading dependencies

    ferd committed Apr 2, 2013
  2. Merge branch 'v60'

    ferd committed Apr 2, 2013
Commits on Apr 1, 2013
  1. fix logplex_drain:create/2

    bgentry committed Apr 1, 2013
  2. v59 -> v60 live upgrade

    bgentry committed Apr 1, 2013
  3. Upgrade path for v58 -> v59

    ferd committed with bgentry Mar 29, 2013
  4. Fixing potential race condition on drain shutdown

    ferd committed with bgentry Mar 27, 2013
    Drains are sometimes shut down through the API by sending themselves a
    'shutdown' message. However,  in logplex_drain:stop/2, if the drain
    process crashes before or after the monitor is set in the call, and
    before the 'shutdown' message makes it there, the receive will work on
    '{'DOWN', Ref, process, DrainPid, _}' but the supervisor will restart it
    because it's transient.
    
    During that failure, we think we killed the pid, but we didn't (the
    crash did), so it restarts and stands alone while we're content at the
    fact it died once.
    
    This patch uses the {shutdown, call} tuple to mean the drain was killed
    using a gen_server:call demand, which will be reported in the monitor as
    a reason. This lets us switch based on the reason to make sure the drain
    was properly shut down.
  5. Merge branch 'v59'

    bgentry committed Apr 1, 2013
  6. Adds logplex_drain:create/2.

    archaelus committed Apr 1, 2013
Commits on Mar 29, 2013
  1. Upgrade path for v58 -> v59

    ferd committed Mar 29, 2013
  2. Fixing potential race condition on drain shutdown

    ferd committed Mar 27, 2013
    Drains are sometimes shut down through the API by sending themselves a
    'shutdown' message. However,  in logplex_drain:stop/2, if the drain
    process crashes before or after the monitor is set in the call, and
    before the 'shutdown' message makes it there, the receive will work on
    '{'DOWN', Ref, process, DrainPid, _}' but the supervisor will restart it
    because it's transient.
    
    During that failure, we think we killed the pid, but we didn't (the
    crash did), so it restarts and stands alone while we're content at the
    fact it died once.
    
    This patch uses the {shutdown, call} tuple to mean the drain was killed
    using a gen_server:call demand, which will be reported in the monitor as
    a reason. This lets us switch based on the reason to make sure the drain
    was properly shut down.
  3. Merge branch 'v58'

    ferd committed Mar 29, 2013
Commits on Mar 26, 2013
Commits on Mar 25, 2013
  1. Merge pull request #31 from heroku/l2met-visibility

    archaelus committed Mar 25, 2013
    Add L2met style metrics channel/drain to Logplex.
  2. minor style changes

    bgentry committed Mar 25, 2013