noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

aggregate_data_free_by_tier list_nodes fine tuning

Open jeniawhite opened this issue 8 years ago • 4 comments

Environment info

  • Version: VERSION
  • Deployment: AZURE|ESX|AWS|GCLOUD|DEV|VBOX
  • Customer: NAME

Actual behavior

  • The request to list_nodes is repeating for every tier on the same pools.
  • The default_pool (or other common pool) is very likely to be requested for every bucket.
  • We should collect the pools we want to list before and ask them uniq once.
  • In addition, we can use the auth_token from the req.auth_token since we are in a context of an rpc request there.

Expected behavior

Steps to reproduce

Screenshots or Logs or other output that would be helpful

(If large, please upload as attachment)

jeniawhite avatar Feb 09 '17 12:02 jeniawhite