Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.0.0
-
Untriaged
-
1
-
Unknown
Description
Currently we fetch all subkeys for all buckets in menelaus_web_nodes:get_snapshot which results in copying quite a lot of stuff.
Unfortunately all the API's have to fetch props for all buckets because the following 2 fields are used: servers and ram_quota.
servers - for calculating node status (healthy/unhealthy)
ram_cuota - for calculating total buckets quota.
Collection manifests are needed only in bucket specific API's and only for displaying ManifestId
GET /pools/default/buckets - needs collection manifests for all buckets
GET /pools/default/buckets/<bucket> and GET /pools/default/bucketStreaming/<bucket> - only collection manifest for <bucket> and not for other buckets