Back to Redis

Index

content/operate/rs/references/rest-api/objects/shard/_index.md

latest1.4 KB
Original Source

An API object that represents a Redis shard in a database.

NameType/ValueDescription
uidstringCluster unique ID of shard
assigned_slotsstringShards hash slot range
backup[backup]({{< relref "/operate/rs/references/rest-api/objects/shard/backup" >}}) objectCurrent status of scheduled periodic backup process
bdb_uidintegerThe ID of the database this shard belongs to
bigstore_ram_weightnumberShards RAM distribution weight
detailed_status'busy'
'down'
'importing'
'loading'
'ok'
'timeout'
'trimming'
'unknown'A more detailed status of the shard
loading[loading]({{< relref "/operate/rs/references/rest-api/objects/shard/loading" >}}) objectCurrent status of dump file loading
node_uidstringThe ID of the node this shard is located on
redis_inforedis_info objectA sub-dictionary of the [Redis INFO command]({{< relref "/commands/info" >}})
report_timestampstringThe time in which the shard's info was collected (read-only)
role'master'
'slave'Role of this shard
status'active'
'inactive'
'trimming'The current status of the shard
sync[sync]({{< relref "/operate/rs/references/rest-api/objects/shard/sync.md" >}}) objectShard's current sync status and progress