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

fixes #441 only dereference WALs after minc finishes #443

Merged
merged 2 commits into from
Apr 26, 2018

Conversation

keith-turner
Copy link
Contributor

No description provided.

@keith-turner keith-turner changed the base branch from master to 1.9 April 26, 2018 17:30
Copy link
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

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

LGTM, but prefer .isEmpty()

@@ -3352,7 +3352,10 @@ private void markUnusedWALs() {
candidates = new HashSet<>(closedLogs);
}
for (Tablet tablet : getOnlineTablets()) {
candidates.removeAll(tablet.getCurrentLogFiles());
tablet.removeInUseLogs(candidates);
if (candidates.size() == 0) {
Copy link
Member

Choose a reason for hiding this comment

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

Should be isEmpty()?

@ctubbsii ctubbsii added v2.0.0 blocker This issue blocks any release version labeled on it. bug This issue has been verified to be a bug. labels Apr 26, 2018
@ctubbsii ctubbsii merged commit 84791ec into apache:1.9 Apr 26, 2018
@keith-turner keith-turner deleted the accumulo-441 branch December 6, 2018 15:17
@ctubbsii ctubbsii added this to Done in 1.9.1 Jun 14, 2019
@ctubbsii ctubbsii added this to Done in 2.0.0 Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker This issue blocks any release version labeled on it. bug This issue has been verified to be a bug.
Projects
No open projects
1.9.1
  
Done
2.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants