[full-ci] Bump reva to include ini metadata backend (#5613)
* bump reva Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * default to ini backend Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * bump reva, add metadata backend config Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update changelog Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix tag Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * Update services/storage-system/pkg/config/config.go Co-authored-by: kobergj <jkoberg@owncloud.com> * fix storage user metadata config desc and env var Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: kobergj <jkoberg@owncloud.com>
This commit is contained in:
co-authored by
kobergj
parent
56d3192fc7
commit
a5fb068650
@@ -73,6 +73,7 @@ type Drivers struct {
|
||||
}
|
||||
|
||||
type OCISDriver struct {
|
||||
MetadataBackend string `yaml:"metadata_backend" env:"STORAGE_SYSTEM_OCIS_METADATA_BACKEND" desc:"The backend to use for storing metadata. Supported values are 'xattrs' and 'ini'. The setting 'xattrs' uses extended attributes to store file metadata while 'ini' uses a dedicated file to store file metadata. Defaults to 'xattrs'."`
|
||||
// Root is the absolute path to the location of the data
|
||||
Root string `yaml:"root" env:"STORAGE_SYSTEM_OCIS_ROOT" desc:"Path for the directory where the STORAGE-SYSTEM service stores it's persistent data. If not definied, the root directory derives from $OCIS_BASE_DATA_PATH:/storage."`
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ func DefaultConfig() *config.Config {
|
||||
Driver: "ocis",
|
||||
Drivers: config.Drivers{
|
||||
OCIS: config.OCISDriver{
|
||||
MetadataBackend: "xattrs",
|
||||
Root: filepath.Join(defaults.BaseDataPath(), "storage", "metadata"),
|
||||
MaxAcquireLockCycles: 20,
|
||||
LockCycleDurationFactor: 30,
|
||||
|
||||
Reference in New Issue
Block a user