Skip to content

Conversation

@tushardhadiwal
Copy link
Contributor

@tushardhadiwal tushardhadiwal commented Apr 24, 2020

Fix #1588 : Refine rename during minor compaction
PR addresses a few issues:

  • Spurious rename failures where rename failed but actually succeeded
  • The check for file existence should only be done before attempting rename
  • Should not delete file if it exists (an admin may want to investigate).

@tushardhadiwal tushardhadiwal changed the title Issue 1588 : Refine rename during minor compaction Fix #1588 : Refine rename during minor compaction Apr 24, 2020
@keith-turner
Copy link
Contributor

I think #1588 is a more general issue that could still be beneficial and be done at some point in the future. Could change the commit message for this PR to something like Handle spurious failure were rename succeeded but reported it failed and omit #1588 or just reference #1588 in the commit message without the preceding fix

@tushardhadiwal tushardhadiwal changed the title Fix #1588 : Refine rename during minor compaction Handle spurious failure were rename succeeded but reported it failed (#1588) Apr 24, 2020
…apache#1588)

    PR addresses a few issues:
    Spurious rename failures where rename failed but actually succeeded
    The check for file existence should only be done before attempting rename
    Should not delete file if it exists (an admin may want to investigate).
@keith-turner keith-turner merged commit cd4c234 into apache:master Apr 28, 2020
@keith-turner
Copy link
Contributor

@tushardhadiwal thanks for the contribution. If you would like to be listed as a contributor on the people page, please submit a PR to add yourself. Let me know if you have any questions about editing the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate avoiding file rename in major compactions

4 participants