History log of /trafficserver/iocore/cache/test/main.cc (Results 1 - 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fa6e5731 25-Nov-2019 bneradt

auto delete rolled log file fixes

This fixes auto delete registration for:

- core log files that were not getting deleted (such as error.log and
manager.log) as well as...

auto delete rolled log file fixes

This fixes auto delete registration for:

- core log files that were not getting deleted (such as error.log and
manager.log) as well as...
- plugin log files.

To make log deletion registration more automatic, I placed it in LogObject
initialization so that it doesn't have to happen in as many disparate places.
By doing this, plugin log auto delete comes for free. This is why nothing in
the core plugin implementation needed to be changed to register their log
files, for instance. Not all log objects are managed by LogObject, however, so
we still have some manual calls to registration in LogConfig for core log files
(such as traffic.out and diags.log, for example).

Before this change, LogConfig manipulated deleting_info to create and maintain
candidates. To encapsulate this logic, I created RolledLogDeleter and changed
LogConfig to interact with an instance of that. This simplified the LogConfig
logic while also enabling unit testability of the main log deletion feature.

This also:

- Adds a rolling_max_count autest.
- Fixes a shutdown leak concerning LogDeletingInfo.
- Fixes a paramater mismatch between TextLogObject and LogObject.

show more ...


Revision tags: 8.0.5, 7.1.8
# 4cfd5a73 15-Aug-2019 Bryan Call

Ran make clang-tidy


Revision tags: 8.0.4, 7.1.7, 7.1.7-rc0, 8.0.4-rc0
# 97c3b342 31-May-2019 Leif Hedstrom

Revert "Ran clang-tidy with google-readability-casting"

This reverts commit 58e7e8675c96a5a4eb958a442942892f6e2a0ef4.

I'm reverting this for now, because it's really messing up a bi

Revert "Ran clang-tidy with google-readability-casting"

This reverts commit 58e7e8675c96a5a4eb958a442942892f6e2a0ef4.

I'm reverting this for now, because it's really messing up a big commit that I'm
working on. I'd much prefer that we only run tools such as clang-format (with new
configs) and clang-tidy (with new configs) just before we branch.

show more ...


# 58e7e867 21-May-2019 Bryan Call

Ran clang-tidy with google-readability-casting


# 6406ef8c 09-Apr-2019 scw00

Adds cache alterante update tests


# b5fd8ac2 10-Apr-2019 Bryan Call

Fixed pthread mutex init issue with cache test


# d8191b6e 09-Apr-2019 Bryan Call

Remove unused variable in cache test


# cc7e1028 08-Apr-2019 Bryan Call

Fixed cache test, using updated shutdown


# 8ec536bf 05-Apr-2019 Bryan Call

Setting the correct directory for test_Cache


# 768bcf8c 15-Mar-2019 scw00

Adds Cache test suits