STLdb

PrevUpHomeNext

Struct log_header

stldb::log_header

Synopsis

// In header: </Users/bobw/workspace/stldb_lib/stldb/logging.h>


struct log_header {
  uint32_t op_count;
  uint32_t segment_size;
  transaction_id_t txn_id;
  uint32_t segment_checksum;
  uint32_t header_checksum;
};

Description

Each transaction log record is proceeded by a fixed size header which indicates the length of the ensuing log records, and provides a checksum value.


PrevUpHomeNext