STLdb

PrevUpHomeNext

Type definition log_seq_num_t

log_seq_num_t

Synopsis

// In header: </Users/bobw/workspaces/STLdb/stldb_lib/stldb/cachetypes.h>


typedef int64_t log_seq_num_t;

Description

During the commit of a transaction, the transaction is assigned a logging sequence number (LSN) which corresponds to the order in which the transactions have been serialized to the log. LSNs on transaction in the log are always in order of ascending LSNs.

The last committed LSN value can be stored on entries in containers and used to determine changes during checkpoints. This number can't loop around safely, so a 64-bit int is used.


PrevUpHomeNext