-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix cache accounting in loading failures case (#74)
#### Motivation Some issues have been observed in production where the cache appears to get into a broken state, including a cascading eviction of all models. #### Modifications - Fix cache accounting in loading failure + unload case - Eagerly remove expired failure records from cache - Correct misworded log message - Log some internal cache values along with published instance records, to facilitate further diagnoses - Increase load failure expiry times #### Result Hopefully fixed cache accounting issue Signed-off-by: Nick Hill <[email protected]>
- Loading branch information
Showing
2 changed files
with
63 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters