This looks like a bug to me, but i may just be reading this incorrectly. FileJournal::encode does a raw_encode of uuid, which is 128 bits. Here we decode the first half, which seems like the next field, block_size, is getting the second half of the uuid?