From 7d9e8f15f20b3f7e96ca004c8e8f65ca8cbd58ff Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 23 Jul 1998 04:36:08 +0000 Subject: [PATCH] handle store abort in statObjects --- src/stat.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/stat.cc b/src/stat.cc index 1f7125162a..2ff8eb742c 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.266 1998/07/22 21:24:42 wessels Exp $ + * $Id: stat.cc,v 1.267 1998/07/22 22:36:08 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -303,6 +303,10 @@ statObjects(void *data) storeUnlockObject(state->sentry); cbdataFree(state); return; + } else if (state->sentry->store_status == STORE_ABORTED) { + storeUnlockObject(state->sentry); + cbdataFree(state); + return; } storeBuffer(state->sentry); debug(49, 3) ("statObjects: Bucket #%d\n", state->bucket); -- 2.47.3