hint file support

« bitcask project page

add support of hint file to speed up large bitcask loading. According to bitcask-intro.pdf, the hint file entry format looks like:

| tstamp | ksz | vsz | offset | key |

check whether offset refers to the entry offset or the value offset.

Details

Id: 17999de04c9cfab90be9012e0c79e20d35d0c0c7
Type: feature
Creation time: 2011-04-10 06:51 GMT
Creator: Jonathan Derque <jonathan.derque@...>
Release: 0.2 (released 2011-07-03)
Component: bitcask
Status: closed: fixed fixed

Issue log

2011-06-26 07:39 GMT Jonathan Derque <jonathan.derque@...> closed with disposition fixed
2011-06-14 17:28 GMT Jonathan Derque <jonathan.derque@...> assigned to release 0.2 from unassigned
2011-06-14 06:43 GMT Jonathan Derque <jonathan.derque@...> commented
Offset refers the offset of the whole record in the datafile (ie. the one contained in the keydir). Hint entries are written at the same time as the data entry.
2011-04-10 06:51 GMT Jonathan Derque <jonathan.derque@...> created