Merge "Fix change cache test shutdown race"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2026-08-17 21:07:06 +00:00
commit 8d56e17c68
1 file changed
+2
+2
View File
@@ -333,6 +333,8 @@ class AbstractChangeCache(ZooKeeperSimpleBase, Iterable, abc.ABC):
if change and change.cache_stat.uuid == data_uuid:
# Change in our local cache is up-to-date
return change
if change and change.cache_stat.mzxid >= zstat.mzxid:
return change
compressed_size = 0
uncompressed_size = 0