diff --git a/src/util/ConcurrentCache.h b/src/util/ConcurrentCache.h index 7b46e6e528..8a930d3dc9 100644 --- a/src/util/ConcurrentCache.h +++ b/src/util/ConcurrentCache.h @@ -344,6 +344,7 @@ class ConcurrentCache { } else if (onlyReadFromCache) { return {nullptr, CacheStatus::notInCacheAndNotComputed}; } else if (lockPtr->_inProgress.contains(key)) { + // the result is not cached, but someone else is computing it. // it is important, that we do not immediately call getResult() since // this call blocks and we currently hold a lock.