mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 06:23:03 +00:00
api: add system/shard_to_numa_node_mapping
Intended for test usage. (Specifically there's a test which checks memory usage by compression dictionaries, and that depends on the number of NUMA nodes, since dicts get a copy for each NUMA node).
This commit is contained in:
@@ -224,6 +224,24 @@
|
||||
"parameters":[]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path":"/system/shard_to_numa_node_mapping",
|
||||
"operations":[
|
||||
{
|
||||
"method":"GET",
|
||||
"summary":"Get the shard-to-NUMA-node mapping. The nth element is the NUMA node ID of the nth shard.",
|
||||
"type":"array",
|
||||
"items":{
|
||||
"type":"long"
|
||||
},
|
||||
"nickname":"get_shard_to_numa_node_mapping",
|
||||
"produces":[
|
||||
"application/json"
|
||||
],
|
||||
"parameters":[]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user