Displaying 1 result from an estimated 1 matches for "pack_uint4".
2014 Aug 20
6
Full MVCC in Brass
...lace to store this is in the on-disk free list itself.
The free list is currently a FIFO queue of block numbers ordered from
oldest free revision to newest free revision. This is already the
desired order; we just have to add revision information.
1) Add an additional free list entry of the form {pack_uint4(-2)
pack_uint4(revision)} that indicates all block numbers up to the next
revision marker were freed in 'revision'.
2) Track the free revision of the entry at the head of the free list
in BrassFreeList and serialize this to the RootInfo metadata. When
get_block encounters a revision entry...