This is an automated email from the ASF dual-hosted git repository.

masaori335 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 6e624461e3 Fix undercount of cp_list_len (#13161)
6e624461e3 is described below

commit 6e624461e34a0c85462b8f535e61742bbbafd078
Author: Masaori Koshiba <[email protected]>
AuthorDate: Fri May 15 08:28:58 2026 +0900

    Fix undercount of cp_list_len (#13161)
---
 src/iocore/cache/CacheProcessor.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/iocore/cache/CacheProcessor.cc 
b/src/iocore/cache/CacheProcessor.cc
index 40eb1e5ba8..ffff468ef7 100644
--- a/src/iocore/cache/CacheProcessor.cc
+++ b/src/iocore/cache/CacheProcessor.cc
@@ -1296,6 +1296,7 @@ cplist_update()
             config_vol->cachep = new_cp;
             fillExclusiveDisks(config_vol->cachep);
             cp_list.enqueue(new_cp);
+            cp_list_len++;
           } else {
             delete new_cp;
           }

Reply via email to