bnb-chain / greenfield

Greenfield is a decentralized storage platform.
GNU Affero General Public License v3.0
117 stars 49 forks source link

fix: fix uncharge issue when deleting objects #599

Closed yutianwu closed 5 months ago

yutianwu commented 5 months ago

Description

This pr will fix the issue when deleting objects.

When we set flow rate limit for a bucket, if the flow rate limit is less than the current flow rate of the bucket, the bucket will be uncharged. We should not uncharge object store fee if the bucket is rate limited since the bucket is already uncharged.

Rationale

Fix the issue deleting objects.

Example

n/a

Changes

Notable changes:

Potential Impacts

n/a