db-console: allow inflight request replacement for reqs managed by KeyedCacheDataReducer #99134
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
This issue originates from: #99095
A description of the problem and possible solutions mentioned by @xinhaoz:
So the problem is that we always compare the request time of the current in flight req with the one managed by the CachedDataReducer, and since there's one CachcedDataReducer issuing all reqs in the Keyed one, we always rewrite the pending request time for each new request. So multiple reqs managed by one KeyedCacheReducer will all use the same pendingRequestStarted time in the promise resolver callbacks.
There's a couple of different things we could do as alternatives to the fix here:
The text was updated successfully, but these errors were encountered: