cubefs/docs/source/dev-guide/admin-api/metanode/partition.md
2024-09-27 12:39:30 +08:00

634 B
Executable File

Metadata Shard Management

Obtaining Information for All Shards on the Current Device

curl -v  "http://10.196.59.202:17220/getPartitions"

Obtaining Current Status Information for a Specified Shard ID

curl -v "http://10.196.59.202:17220/getPartitionById?pid=100"

Obtains current status information for a specified shard ID, including the raft leader address for the current shard group, the raft group members, and the inode allocation cursor.

Request Parameters:

Parameter Type Description
pid Integer Metadata shard ID