Database management
HTTPS service
For details on the HTTPS service, see HTTPS service.
View client connections
You can now use the /v1/node/connections
endpoint to view the number of client connections to that node.
The following example shows that there are 11 total connections to the node at 127.0.0.1
, 2 of which are just starting to initialize:
Drain subclusters
You can now use the /v1/subclusters/
subcluster_name
/drain
endpoint to drain connections from a subcluster. This functionality was previously limited to the SHUTDOWN_WITH_DRAIN function. To verify the draining status of your subclusters, query DRAINING_STATUS.
To drain the connections from a subcluster, you can send a POST request with one of the following:
- An empty body
{"cancel": false}
For example:
To stop draining connections, send a POST request with {"cancel": true}
. For example:
View subscription states
The new /v1/subscriptions
endpoint returns information on a node's subscriptions to shards:
node_name
shard_name
: The shard the node is subscribed tosubscription_state
: Subscription status (ACTIVE
,PENDING
,PASSIVE
, orREMOVING
)is_primary
: Whether the subscription is a primary subscription
For example:
Depot and data paths
The following storage locations fields have been added to the /v1/nodes
and /v1/nodes/
node_name
endpoints:
data_path
: A list of paths used to store USAGE 'DATA,TEMP' data.depot_path
: The path used to store USAGE 'DEPOT' data.
For example: