Skip to content

Commit

Permalink
Change default metadata backend to messagepack
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck authored and butonic committed Jul 6, 2023
1 parent 38d0c09 commit 78527b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storage/utils/decomposedfs/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 78527b2

Please sign in to comment.