noobaa / noobaa-core

High-performance S3 application gateway to any backend - file / s3-compatible / multi-clouds / caching / replication ...
https://www.noobaa.io
Apache License 2.0
269 stars 78 forks source link

Bucket health mode should be calculated according to mirror storage #4439

Open dannyzaken opened 6 years ago

dannyzaken commented 6 years ago

Environment info

Actual behavior

  1. currently the bucket health is calculated by checking all pools in all tiers and checking if pools are valid in the tiering_policy_status

Expected behavior

  1. a better and more consistent way to calculate the validity is by looking at the available storage in the mirror set, which is also returned in the tiering_policy_status.
  2. the available storage in the mirror set already takes into account the number of blocks required for chunk vs the amount of storage in each node in the pools set.
  3. when the available storage is greater than 0 than the mirror has enough healthy nodes
github-actions[bot] commented 3 days ago

This issue had no activity for too long - it will now be labeled stale. Update it to prevent it from getting closed.