Loading...
Searching...
No Matches
Data Fields
as_partition_table_shm Struct Reference

Detailed Description

Shared memory representation of map of namespace to data partitions. 40 bytes + partitions size.

Definition at line 104 of file as_shm_cluster.h.

+ Collaboration diagram for as_partition_table_shm:

Data Fields

char ns [AS_MAX_NAMESPACE_SIZE]
 
char pad [6]
 
as_partition_shm partitions []
 
uint8_t replica_size
 
uint8_t sc_mode
 

Field Documentation

◆ ns

char as_partition_table_shm::ns[AS_MAX_NAMESPACE_SIZE]

Namespace name.

Definition at line 108 of file as_shm_cluster.h.

◆ pad

char as_partition_table_shm::pad[6]

Pad to 8 byte boundary.

Definition at line 123 of file as_shm_cluster.h.

◆ partitions

as_partition_shm as_partition_table_shm::partitions[]

Array of partitions for a given namespace.

Definition at line 128 of file as_shm_cluster.h.

◆ replica_size

uint8_t as_partition_table_shm::replica_size

Replication factor.

Definition at line 113 of file as_shm_cluster.h.

◆ sc_mode

uint8_t as_partition_table_shm::sc_mode

Is namespace running in strong consistency mode.

Definition at line 118 of file as_shm_cluster.h.


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