deleteReplicas

Syntax

deleteReplicas(chunkId, nodeAlias)

Arguments

chunkId is a STRING scalar/vector indicating ID of chunks.

nodeAlias is a string indicating the node alias.

Details

Delete replicas of one or multiple chunks from a node.

This command can only be executed by an administrator on a controller node.

Examples

Delete the replicas of all chunks on "node1".

chunkIds=exec chunkId from pnodeRun(getAllChunks) where node="node1"
deleteReplicas(chunkIds,"node1");