Skip to content
Commits on Apr 9, 2016
  1. @mrallen1

    Roll 3.2.0

    mrallen1 committed Apr 8, 2016
Commits on Apr 8, 2016
  1. @borshop

    Merge pull request #346 from basho/mra/overload_killer

    borshop committed Apr 8, 2016
    Incorporate an optional 'sink killer' for load shedding purposes
    
    Reviewed-by: bsparrow435
  2. @mrallen1
Commits on Apr 7, 2016
  1. @mrallen1
  2. @mrallen1
  3. @mrallen1
  4. @mrallen1
  5. @mrallen1
  6. @mrallen1

    Fix dialyzer warnings

    mrallen1 committed Apr 6, 2016
  7. @mrallen1
  8. @mrallen1

    Add a sleep to prevent losing race condition

    mrallen1 committed Mar 29, 2016
    Lager logs its own application start up message. Previously
    this message was discarded or not received quickly enough
    to cause test failures, but now it seems as though it
    is being received and causing several test failures
    even though we are explicitly flushing it away.
    
    We introduce a 5 millisecond sleep for several tests
    to make sure the start up message is received before the
    flush command dumps it.
  9. @mrallen1

    Send the sink name with reboot message

    mrallen1 committed Mar 29, 2016
    Previously, was always hardcoded to the default sink name.
  10. @mrallen1

    Overhaul start up and add killer config

    mrallen1 committed Mar 29, 2016
    Previously, configuration would come from application:get_env/3 or
    proplists:get_value/3. Now we standardize on a single format
    for retrieving values from the environment or from a proplist.
  11. @mrallen1

    Correct removal of reinstall_handler.

    Brian L. Troutwine committed with mrallen1 Mar 18, 2016
    Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
  12. @mrallen1

    Correct test failures for lager_handler_watcher.

    Brian L. Troutwine committed with mrallen1 Mar 17, 2016
    Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
  13. @mrallen1

    Force restart of system after a watcher kill.

    Brian L. Troutwine committed with mrallen1 Mar 17, 2016
    This is, perhaps, not the most ideal setup. It still ignores other
    sinks but does bring logging back online after the appropriate delay.
    
    Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
  14. @mrallen1

    Update test to not rely on sleep.

    Brian L. Troutwine committed with mrallen1 Mar 14, 2016
    This test only passes when run in isolation. That is, if you run the
    suite solo everything is beautiful and nothing hurts. When run in the
    group, it fails. By inspection it seems that no trace messages are
    being sent and this causes the failure, for want of specific traces.
    
    Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
  15. @blt @mrallen1

    Attempt to redress test failures.

    blt committed with mrallen1 Mar 10, 2016
    At this point in the work, the killer will correctly stop the
    DEFAULT_SINK in the event of overload but our friend never comes back
    up and lager stops working past this point.
    
    Oops!
    
    Error message:
    
    =SUPERVISOR REPORT==== 10-Mar-2016::16:18:11 ===
         Supervisor: {local,lager_handler_watcher_sup}
         Context:    child_terminated
         Reason:     killed
         Offender:   [{pid,<0.63.0>},
                      {id,lager_handler_watcher},
                      {mfargs,{lager_handler_watcher,start_link,undefined}},
                      {restart_type,temporary},
                      {shutdown,5000},
                      {child_type,worker}]
    
    =SUPERVISOR REPORT==== 10-Mar-2016::16:18:11 ===
         Supervisor: {local,lager_handler_watcher_sup}
         Context:    child_terminated
         Reason:     killed
         Offender:   [{pid,<0.59.0>},
                      {id,lager_handler_watcher},
                      {mfargs,{lager_handler_watcher,start_link,undefined}},
                      {restart_type,temporary},
                      {shutdown,5000},
                      {child_type,worker}]
    
    =PROGRESS REPORT==== 10-Mar-2016::16:18:11 ===
              supervisor: {local,lager_sup}
                 started: [{pid,<0.113.0>},
                           {id,lager},
                           {mfargs,{gen_event,start_link,[{local,lager_event}]}},
                           {restart_type,permanent},
                           {shutdown,5000},
                           {child_type,worker}]
    
    Signed-off-by: Brian L. Troutwine <brian@troutwine.us>
  16. @jinnipark @mrallen1
  17. @mrallen1

    Fix dialyzer warnings

    mrallen1 committed Apr 6, 2016
  18. @mrallen1
Commits on Apr 6, 2016
  1. @borshop

    Merge pull request #343 from basho/gh291

    borshop committed Apr 6, 2016
    Include 'none' in the log_level type
    
    Reviewed-by: macintux
  2. @borshop

    Merge pull request #341 from basho/gh287

    borshop committed Apr 6, 2016
    Fix sink name typo in docs
    
    Reviewed-by: macintux
  3. @borshop

    Merge pull request #336 from basho/mra/gh315

    borshop committed Apr 6, 2016
    Ensure traces pointed to files work in config file
    
    Reviewed-by: macintux
  4. @borshop

    Merge pull request #344 from basho/fix_otp15_undef

    borshop committed Apr 6, 2016
    Flappy test clean up for TravisCI
    
    Reviewed-by: macintux
Commits on Mar 31, 2016
  1. @mrallen1
  2. @mrallen1
  3. @mrallen1

    Make dialyzer happy

    mrallen1 committed Mar 31, 2016
Commits on Mar 30, 2016
  1. @mrallen1
  2. @mrallen1
  3. @mrallen1

    Increase timeout for gh280 test

    mrallen1 committed Mar 30, 2016
  4. @mrallen1
  5. @mrallen1
  6. @mrallen1
  7. @borshop

    Merge pull request #342 from basho/gh286

    borshop committed Mar 30, 2016
    Export configure_sink/2 for runtime sink config
    
    Reviewed-by: macintux
Something went wrong with that request. Please try again.