Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.20-append
-
None
-
Reviewed
Description
When block recovery starts (eg due to NN recovering lease) it needs to interrupt any writers currently writing to those blocks. Otherwise, an old writer (who hasn't realized he lost his lease) can continue to write+sync to the blocks, and thus recovery ends up truncating data that has been sync()ed.
Attachments
Attachments
Issue Links
- blocks
-
HBASE-2645 HLog writer can do 1-2 sync operations after lease has been recovered for split process.
- Closed
- relates to
-
HDFS-1520 HDFS 20 append: Lightweight NameNode operation to trigger lease recovery
- Closed