Menu

Post image 1
Post image 2
1 / 2
0

Inside GBase 8a Data Consistency: ddlevent, dmlevent, dmlstorageevent

DEV Community·Michael·about 1 month ago
#QKjqFg4M
Reading 0:00
15s threshold

In a GBase 8a distributed cluster, data consistency between primary and standby nodes is critical for service stability. Three event types — ddlevent , dmlevent , and dmlstorageevent — act as the core messengers for synchronization and recovery. Together with the gcrecover process, they form a layered assurance system. This article analyzes their roles, triggers, and collaborative logic. 1. Core Positioning: Essential Differences All three events are triggered by the GBase 8a kernel to record differences between primary and standby nodes, but they focus on entirely different inconsistency scenarios and processing priorities: Event Type Core Purpose Inconsistency Focus Data Carrier ddlevent Metadata sync & repair Table structure, indexes, partition differences DDL operation logs dmlevent Business data sync & repair Row data differences from INSERT/UPDATE/DELETE DML operation records dmlstorageevent Storage-level emergency repair Storage anomalies dmlevent cannot fix Data/metadata file repair…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More