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

Some more simple fs cleanups. #9827

Closed
wants to merge 1 commit into from
Closed

Conversation

rmuir
Copy link
Contributor

@rmuir rmuir commented Feb 23, 2015

a few more cleanups.

the isSameFile() sha1 logic is just flat out buggy, in addition to wasting cpu.

the isSameFile() sha1 logic is just flat out buggy, in addition to wasting cpu.
@dakrone
Copy link
Member

dakrone commented Feb 23, 2015

LGTM

logger.trace("recovering translog file: {} length: {}", recoveringTranslogFile, Files.size(recoveringTranslogFile));
if (logger.isTraceEnabled()) {
logger.trace("recovering translog file: {} length: {}", recoveringTranslogFile, Files.size(recoveringTranslogFile));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch

@rmuir rmuir closed this in daa8e5f Feb 23, 2015
rmuir added a commit that referenced this pull request Feb 23, 2015
@clintongormley clintongormley changed the title some more simple fs cleanups. Some more simple fs cleanups. Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants