Details
Description
As part of a rollback from a rolling upgrade in progress, we discard edit log segments by renaming the file with suffix ".trash". If no new edits arrive in between multiple attempts, then the ".trash" file may still exist. On Windows, java.io.File#renameTo fails if the destination already exists though. This is visible right now as a failure in TestRollingUpgrade#testRollback when running on Windows.