Skip to content

Struct MDBX_envinfo.mi_bootid

ClassList > MDBX_envinfo.mi_bootid

A mostly unique ID that is regenerated on each boot. More...

Classes

Type Name
struct MDBX_envinfo.mi_bootid.current
struct MDBX_envinfo.mi_bootid.meta

Public Attributes

Type Name
struct MDBX_envinfo::@342146252050021261065114073132157115020040333167::@033045376360052324133105363077136352273226213361 current
The current boot ID of the system.
struct MDBX_envinfo::@342146252050021261065114073132157115020040333167::@033045376360052324133105363077136352273226213361 meta
Boot IDs recorded in the meta pages.

Detailed Description

As such it can be used to identify the local machine's current boot. MDBX uses such when open the database to determine whether rollback required to the last steady sync point or not. I.e. if current bootid is differ from the value within a database then the system was rebooted and all changes since last steady sync must be reverted for data integrity. Zeros mean that no relevant information is available from the system.

Public Attributes Documentation

variable current

The current boot ID of the system.

struct MDBX_envinfo::@342146252050021261065114073132157115020040333167::@033045376360052324133105363077136352273226213361 MDBX_envinfo::@342146252050021261065114073132157115020040333167::current;

variable meta

Boot IDs recorded in the meta pages.

struct MDBX_envinfo::@342146252050021261065114073132157115020040333167::@033045376360052324133105363077136352273226213361 MDBX_envinfo::@342146252050021261065114073132157115020040333167::meta[3];


The documentation for this class was generated from the following file mdbx.h