masaori335 commented on code in PR #11896:
URL: https://github.com/apache/trafficserver/pull/11896#discussion_r1870651722


##########
src/iocore/cache/StripeSM.cc:
##########
@@ -214,7 +214,7 @@ StripeSM::handle_dir_clear(int event, void *data)
     if (!op->ok()) {
       Warning("unable to clear cache directory '%s'", hash_text.get());
       disk->incrErrors(op);
-      fd = -1;
+      disk->fd = -1;

Review Comment:
   @moonchen Would you take a look at this change? When `CacheDisk` got error, 
can we make the `fd = -1` or we should keep it?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to