mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Deprecate caching for erasure/distributed mode (#13909)
Fixes: #13907 Also removing default value of `writethrough` for cache commit which was interfering with cache_after setting
This commit is contained in:
@@ -591,8 +591,9 @@ func serverMain(ctx *cli.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
// initialize the new disk cache objects.
|
||||
if globalCacheConfig.Enabled {
|
||||
// initialize the new disk cache objects.
|
||||
logStartupMessage(color.Yellow("WARNING: Disk caching is deprecated for single/multi drive MinIO setups. Please migrate to using MinIO S3 gateway instead of disk caching"))
|
||||
var cacheAPI CacheObjectLayer
|
||||
cacheAPI, err = newServerCacheObjects(GlobalContext, globalCacheConfig)
|
||||
logger.FatalIf(err, "Unable to initialize disk caching")
|
||||
|
||||
Reference in New Issue
Block a user