Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.95.0, 1.0.0, 3.0.0-alpha-1, 2.0.0
-
None
-
Reviewed
Description
There is a comment in HFileArchiver#resolveAndArchiveFile:
// if the file already exists in the archive, move that one to a timestamped backup. This is a // really, really unlikely situtation, where we get the same name for the existing file, but // is included just for that 1 in trillion chance.
In reality, we did encounter this frequently enough to cause problems. More details will be included and linked in a separate issue.
But regardless of how we get into this situation, we can consider a different approach to solving it. If we assume store files are immutable, and a store file with the same name and location already exists in the archive, then it can be safer to assume the file was already archived successfully, and react accordingly.
Attachments
Issue Links
- relates to
-
HBASE-26722 Snapshot is corrupted due to interaction between move, warmupRegion, compaction, and HFileArchiver
- Resolved
-
HBASE-26726 Allow disable of region warmup before graceful move
- Resolved
- requires
-
HBASE-5547 Don't delete HFiles when in "backup mode"
- Closed
- links to