Changeset 874fd19 for perl/Makefile.am

Timestamp:
Aug 5, 2017, 11:21:53 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
1917e53
Parents:
edb14cc
git-author:
Jason Gross <jgross@mit.edu> (12/04/16 12:40:17)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/05/17 23:21:53)
Message:
Fix the sense of drop_failed_logs

Previously, :flush-logs was dropping failed logs, while :flush-logs -f
was not.  Additionally, :flush-logs -f was enqueing the failed messages
at the end of the queue, breaking message ordering.

This commit fixes both of these issues.  I chose to optimize for the
case where :flush-logs is run without renewing tickets (where the
correct behavior is to stop at the first message that fails), rather
than the case where the user is logging to a directory they never have
permission to access (where the correct behavior is to try to log all of
the messages, and keep only the ones that fail).  This way, we won't
ever flood the system with lots of requests for files we don't have
permissions to access, and the user will have to :flush-logs -f if they
log to a directory they don't have permission to write to.
(No files)

Note: See TracChangeset for help on using the changeset viewer.