Skip to main content
Version: 4.4

Metadata store

Role of the metadata store​

The metadata store is the database where RabbitMQ records everything except queue and stream messages:

Runtime parametersTopologyVirtual hostsInternal usersMessagesMetadata store
Role of the metadata store

In a cluster, the metadata store replicates this information across all RabbitMQ nodes.

Khepri​

Khepri logo

RabbitMQ uses Khepri, a metadata store developed by the RabbitMQ team. Khepri is the only supported metadata store starting with RabbitMQ 4.3. It replaced Mnesia, the metadata store used by earlier releases.

Like quorum queues and streams, Khepri uses the Raft consensus algorithm. A majority of cluster nodes must be available for metadata updates and cluster membership changes.

The following guides cover clustering, everyday operations, and failure recovery with Khepri.