From 78527b213afa5f8d3bfcf7c8ca2751bdc4fc05d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Tue, 4 Jul 2023 09:07:24 +0200 Subject: [PATCH] Change default metadata backend to messagepack --- pkg/storage/utils/decomposedfs/options/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storage/utils/decomposedfs/options/options.go b/pkg/storage/utils/decomposedfs/options/options.go index f60c912a829..562135c6609 100644 --- a/pkg/storage/utils/decomposedfs/options/options.go +++ b/pkg/storage/utils/decomposedfs/options/options.go @@ -38,7 +38,7 @@ type Options struct { // the gateway address GatewayAddr string `mapstructure:"gateway_addr"` - // the metadata backend to use, currently supports `xattr` or `ini` + // the metadata backend to use, currently supports `xattr` or `messagepack` MetadataBackend string `mapstructure:"metadata_backend"` // ocis fs works on top of a dir of uuid nodes @@ -106,7 +106,7 @@ func New(m map[string]interface{}) (*Options, error) { o.GatewayAddr = sharedconf.GetGatewaySVC(o.GatewayAddr) if o.MetadataBackend == "" { - o.MetadataBackend = "xattrs" + o.MetadataBackend = "messagepack" } if o.UserLayout == "" {