Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-1645 FileCacheStore.purgeInternal() not removes empty Bucket files #797

Closed
wants to merge 1 commit into from

Conversation

maniksurtani
Copy link
Member

@@ -244,6 +251,13 @@ public void run() {
lockAcquired = true;
}
updateBucket(bucket);
} else {
// Bucket may be an empty 0-length file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code dup? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I know - that entire section is dup'ed. Let me see what I can do ...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, managed to extract a lot of this logic out

@galderz galderz closed this Jan 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants