This is an automated email from the ASF dual-hosted git repository. paziz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 519f655 Make a note whenever a stripe directory is cleared 519f655 is described below commit 519f65586e9663f29bf2d79cd616c88ae76f77b3 Author: Persia Aziz <per...@yahoo-inc.com> AuthorDate: Thu Mar 29 11:27:06 2018 -0500 Make a note whenever a stripe directory is cleared --- iocore/cache/Cache.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc index c8320f7..d378a92 100644 --- a/iocore/cache/Cache.cc +++ b/iocore/cache/Cache.cc @@ -1396,6 +1396,7 @@ Vol::handle_dir_read(int event, void *data) if (event == AIO_EVENT_DONE) { if ((size_t)op->aio_result != (size_t)op->aiocb.aio_nbytes) { + Note("Directory read failed: clearing cache directory %s", this->hash_text.get()); clear_dir(); return EVENT_DONE; } @@ -1752,6 +1753,7 @@ Vol::handle_header_read(int event, void *data) ink_assert(op != nullptr); i = (VolHeaderFooter *)(op->aiocb.aio_buf); if ((size_t)op->aio_result != (size_t)op->aiocb.aio_nbytes) { + Note("Header read failed: clearing cache directory %s", this->hash_text.get()); clear_dir(); return EVENT_DONE; } -- To stop receiving notification emails like this one, please contact pa...@apache.org.