[full-ci] Refactor stores (#6019)

* Streamline the store implementation with and into reva

* Adapt to the cache/store refactoring in reva

* Streamline config options and their env vars

* Apply suggestions from code review

Co-authored-by: Martin <github@diemattels.at>

* Use the same database for all stores

* Bump reva

* Configure stat and filemetadata cache separately

* Fix default config

---------

Co-authored-by: Martin <github@diemattels.at>
This commit is contained in:
Andre Duffeck
2023-04-24 15:13:35 +02:00
committed by GitHub
parent 39c8a45984
commit 77bb3d8bcd
76 changed files with 665 additions and 2529 deletions

View File

@@ -89,9 +89,13 @@ func DefaultConfig() *config.Config {
ClusterID: "ocis-cluster",
EnableTLS: false,
},
Cache: config.Cache{
StatCache: config.StatCache{
Store: "memory",
Database: "users",
Database: "ocis",
},
FilemetadataCache: config.FilemetadataCache{
Store: "memory",
Database: "ocis",
},
Tasks: config.Tasks{
PurgeTrashBin: config.PurgeTrashBin{