Setting Disk I/O Priority
The disk I/O priority for a bucket is set with the /pools/default/buckets/[bucket-name] URI and the threadNumber setting.
HTTP method and URI
To set the maximum of thread workers, use the threadsNumber option. To specify high priority, assign eight (8) threads. To specify low priority, assign three (3) threads. Default: threadsNumber=3. Only high or low priority are allowed.
The threadNumberparameter is used to specify disk I/O priority for a bucket.
Curl request syntax:
curl -v -X POST -u [admin]:[password] http://[localhost]:8091/pools/default/buckets/[bucket-name] -d threadsNumber=[3 | 8]
The following example sets the threadsNumber for the default bucket to eight (8), which is high priority, from the default of three (3), which is low priority.
curl -v -X POST -u Administrator:password \ http://10.5.2.54:8091/pools/default/buckets/default \ -d 'threadsNumber=8'