-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, when an existing cache entry was updated, we didn't update the atime. Subsequently, when the entry was removed, we never cleaned the orphan atime entry. During trimming, we traverse the atime entries, and since the orphaned one didn't have any matching objects or ctime entries, the ets_lru cache would crash, possibly taking down the primary couch supervisor.
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 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