8000 Fix potential LRU cache size issue. by kuba-- · Pull Request #958 · src-d/go-git · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Conversation

kuba--
Copy link
Contributor
@kuba-- kuba-- commented Sep 17, 2018

Signed-off-by: kuba-- kuba@sourced.tech

This PR fixes potential issue related to LRU Object/Buffer Cache size.
When you put to the cache the same object (key) but with different size, actualSize is not updating.

Signed-off-by: kuba-- <kuba@sourced.tech>
@kuba-- kuba-- added the bug label Sep 17, 2018
@kuba-- kuba-- requested review from a team, mcuadros and smola September 17, 2018 20:28
Signed-off-by: kuba-- <kuba@sourced.tech>
@mcuadros mcuadros requested review from ajnavarro and removed request for a team and smola September 17, 2018 22:03
@mcuadros mcuadros merged commit f69f530 into src-d:master Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0