Enforce quota checks after crawl (#10036)

Enforce bucket quotas when crawling has finished. 
This ensures that we will not do quota enforcement on old data.

Additionally, delete less if we are closer to quota than we thought.
This commit is contained in:
Klaus Post authored and GitHub committed 2020-07-14 18:59:05 -07:00
1 parent 14ff7f5fcf
commit 00d3cc4b69
6 files changed
+123 -134

No files matched your search

-1
View File
@@ -360,7 +360,6 @@ func startBackgroundOps(ctx context.Context, objAPI ObjectLayer) {
}
initDataCrawler(ctx, objAPI)
initQuotaEnforcement(ctx, objAPI)
}
// serverMain handler called for 'minio server' command.