MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dblqh::GcpRecord Struct Reference

#include <Dblqh.hpp>

Public Attributes

Uint16 gcpFilePtr [4]
Uint16 gcpPageNo [4]
Uint16 gcpWordNo [4]
UintR gcpId
Uint8 gcpLogPartState [4]
Uint8 gcpSyncReady [4]
UintR gcpUserptr
BlockReference gcpBlockref

Detailed Description

This record describes a global checkpoint that is completed. It waits for all log records belonging to this global checkpoint to be saved on disk.

Definition at line 896 of file Dblqh.hpp.

Member Data Documentation

BlockReference Dblqh::GcpRecord::gcpBlockref

Block reference of the sender of gcp_savereq (= master DIH).

Definition at line 936 of file Dblqh.hpp.

Uint16 Dblqh::GcpRecord::gcpFilePtr[4]

The file number within each log part where the log was located when gcp_savereq was received. The last record belonging to this global checkpoint is certainly before this place in the log. We could come even closer but it would cost performance and doesn't seem like a good idea. This is simple and it works.

Definition at line 905 of file Dblqh.hpp.

UintR Dblqh::GcpRecord::gcpId

The identity of this global checkpoint.

Definition at line 918 of file Dblqh.hpp.

Uint8 Dblqh::GcpRecord::gcpLogPartState[4]

The state of this global checkpoint, one for each log part.

Definition at line 922 of file Dblqh.hpp.

Uint16 Dblqh::GcpRecord::gcpPageNo[4]

The page number within the file for each log part.

Definition at line 909 of file Dblqh.hpp.

Uint8 Dblqh::GcpRecord::gcpSyncReady[4]

The sync state of this global checkpoint, one for each log part.

Definition at line 927 of file Dblqh.hpp.

UintR Dblqh::GcpRecord::gcpUserptr

User pointer of the sender of gcp_savereq (= master DIH).

Definition at line 931 of file Dblqh.hpp.

Uint16 Dblqh::GcpRecord::gcpWordNo[4]

The word number within the last page that was written for each log part.

Definition at line 914 of file Dblqh.hpp.


The documentation for this struct was generated from the following file: