[Bugfix][TieredOffloading] : Return HIT_PENDING when KV promotion is triggered (#51840)
Signed-off-by: <> Co-authored-by: Varun Sundar Rabindranath <varun-sundar-rabindranath@h100-01.nemg-001.lab.rdu2.dc.redhat.com>
This commit is contained in:
co-authored by
Varun Sundar Rabindranath
parent
793ca6998a
commit
f067737b2a
@@ -401,7 +401,7 @@ class TieringOffloadingManager(OffloadingManager):
|
||||
lookup_duration,
|
||||
)
|
||||
promoted = self._initiate_promotion(i, key, req_context)
|
||||
return LookupResult.MISS if not promoted else LookupResult.RETRY
|
||||
return LookupResult.MISS if not promoted else LookupResult.HIT_PENDING
|
||||
if result is LookupResult.RETRY:
|
||||
any_retry = True
|
||||
self._metrics.on_lookup(
|
||||
|
||||
Reference in New Issue
Block a user