NDB Cluster Internals  /  NDB Kernel Blocks  /  The SUMA Block

4.19 The SUMA Block

The cluster subscription manager, which handles event logging and reporting functions. It also figures prominently in NDB Cluster Replication. SUMA consists of the following files, found in the directory storage/ndb/src/kernel/blocks/suma/:

  • Suma.hpp: Defines the Suma class and interfaces for managing subscriptions and performing necessary communications with other SUMA (and other) blocks.

  • SumaInit.cpp: Performs initialization of DICT, DIH, and other interfaces

  • Suma.cpp: Implements subscription-handling routines.

  • Suma.txt: Contains a text-based diagram illustrating SUMA protocols.