remove FIFO bucket quota, use ILM expiration instead (#14206)

This commit is contained in:
Harshavardhana
2022-01-31 11:07:04 -08:00
committed by GitHub
parent b5d35c7e09
commit dbd05d6e82
11 changed files with 147 additions and 721 deletions

View File

@@ -329,7 +329,7 @@ func (fs *FSObjects) NSScanner(ctx context.Context, bf *bloomFilter, updates cha
logger.LogIf(ctx, totalCache.save(ctx, fs, dataUsageCacheName))
cloned := totalCache.clone()
updates <- cloned.dui(dataUsageRoot, buckets)
enforceFIFOQuotaBucket(ctx, fs, b.Name, cloned.bucketUsageInfo(b.Name))
}
return nil