Review Board 1.7.22


FLUME-1085 Implement a durable FileChannel

Review Request #4661 - Created April 5, 2012 and submitted

Brock Noland
trunk
FLUME-1085
Reviewers
Flume
flume-git
This patch implements a durable file channel. It does by writing all transaction events to disk and syncing to disk when a commit occurs. It does have a memory component in that pointers to the event on disk are kept in memory. This will consume 8 bytes of direct memory (non-heap) per event. Some basic calculations are in the FileChannel java docs.
Unit tests and integration tests added to cover obvious cases.
Review request changed
Updated (May 5, 2012, 4:34 p.m.)
I addressed the review items and removed items from other JIRAs.
Ship it!
Posted (May 5, 2012, 8:33 p.m.)
+1