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

Detailed Description

Shared memory representation of node. 424 bytes.

Definition at line 37 of file as_shm_cluster.h.

+ Collaboration diagram for as_node_shm:

Data Fields

uint8_t active
 
struct sockaddr_storage addr
 
uint32_t features
 
as_swlock lock
 
char name [AS_NODE_NAME_SIZE]
 
char pad [3]
 
int rack_id
 
uint32_t rebalance_generation
 
char tls_name [AS_HOSTNAME_SIZE]
 

Field Documentation

◆ active

uint8_t as_node_shm::active

Is node currently active.

Definition at line 76 of file as_shm_cluster.h.

◆ addr

struct sockaddr_storage as_node_shm::addr

Socket address.

Definition at line 51 of file as_shm_cluster.h.

◆ features

uint32_t as_node_shm::features

Features supported by server. Stored in bitmap.

Definition at line 61 of file as_shm_cluster.h.

◆ lock

as_swlock as_node_shm::lock

Lightweight node read/write lock.

Definition at line 46 of file as_shm_cluster.h.

◆ name

char as_node_shm::name[AS_NODE_NAME_SIZE]

Node name.

Definition at line 41 of file as_shm_cluster.h.

◆ pad

char as_node_shm::pad[3]

Pad to 8 byte boundary.

Definition at line 81 of file as_shm_cluster.h.

◆ rack_id

int as_node_shm::rack_id

Rack ID.

Definition at line 71 of file as_shm_cluster.h.

◆ rebalance_generation

uint32_t as_node_shm::rebalance_generation

Server's generation count for partition rebalancing.

Definition at line 66 of file as_shm_cluster.h.

◆ tls_name

char as_node_shm::tls_name[AS_HOSTNAME_SIZE]

TLS certificate name (needed for TLS only).

Definition at line 56 of file as_shm_cluster.h.


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