NDB Cluster Internals  /  NDB Kernel Blocks  /  The TRIX Block

4.23 The TRIX Block

This kernel block is responsible for the handling of internal triggers and unique indexes. TRIX, like DBUTIL, is a utility block containing many helper functions for building indexes and handling signals between nodes. It is implemented in the following files, all found in the directory storage/ndb/src/kernel/blocks/trix:

  • Trix.hpp: Defines the Trix class, along with structures representing subscription data and records (for communicating with SUMA) and node data and ists (needed when communicating with remote TRIX blocks).

  • Trix.cpp: Implements Trix class methods, including those necessary for taking appropriate action in the event of node failures.