Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.0, 3.0.0-alpha-3
-
None
Description
MOB file compaction and flush still relies on renames even when SFT is enabled.
My proposed changes are:
- when requireWritingToTmpDirFirst is false during mob flush/compact instead of using the temp writer we should create a different writer using a StoreFileWriterCreationTracker that writes directly to the mob store folder
- these StoreFileWriterCreationTracker should be stored in the MobStore. This would requires us to extend MobStore with a createWriter and a finalizeWriter method to handle this
- refactor MobFileCleanerChore to run on the RS instead on Master to allow access to the StoreFileWriterCreationTrackers to make sure the currently written files are not cleaned up
Attachments
Issue Links
- is a parent of
-
HBASE-27154 Backport missing MOB related changes to branch-2
- Resolved
- is blocked by
-
HBASE-27017 MOB snapshot is broken when FileBased SFT is used
- Resolved
- links to