Tiered Storage

Trim Tiered Storage cache

Invoke trimming on the local cache of Tiered Storage objects. If no parameters are included, this endpoint by default trims the cache to the maximum cache size given by the cluster config. Use the bytes and objects parameters to specify the number of bytes and objects to retain in the cache.

post/v1/cloud_storage/cache/trim

Request

  • Base URL: http://localhost:9644
  • URL: http://localhost:9644/v1/cloud_storage/cache/trim
  • Auth: none declared

Query parameters

objectsinteger

Target number of objects to retain in the cache.

bytesinteger

Target number of bytes to retain in the cache.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.