From 2b533b7050c0cfa85096b7e6e79eedb68c1ad61b Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Mon, 22 Aug 2022 11:03:43 +0200 Subject: [PATCH 1/2] disable cache Signed-off-by: Christian Richter --- internal/grpc/services/gateway/storageprovider.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/grpc/services/gateway/storageprovider.go b/internal/grpc/services/gateway/storageprovider.go index 3fe3e9965e..c509c4bc61 100644 --- a/internal/grpc/services/gateway/storageprovider.go +++ b/internal/grpc/services/gateway/storageprovider.go @@ -1089,7 +1089,8 @@ func (s *svc) getStorageProviderClient(_ context.Context, p *registry.ProviderIn return nil, err } - return s.cache.StorageProviderClient(c), nil + // TODO: reinstate cache as soon there is a implementation for a non-in-memory cache + return c, nil } func (s *svc) getStorageRegistryClient(_ context.Context, address string) (registry.RegistryAPIClient, error) { From 41b12b31e30a0e8582c684dc1cb54231f3cfba7b Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Mon, 22 Aug 2022 11:05:29 +0200 Subject: [PATCH 2/2] add changelog Signed-off-by: Christian Richter --- changelog/unreleased/disable-cache.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/unreleased/disable-cache.md diff --git a/changelog/unreleased/disable-cache.md b/changelog/unreleased/disable-cache.md new file mode 100644 index 0000000000..9391fc2aa6 --- /dev/null +++ b/changelog/unreleased/disable-cache.md @@ -0,0 +1,6 @@ +Bugfix: Disable caching + +We disabled the cache, because there are race condtions that cause tests to fail. + +https://github.com/owncloud/ocis/issues/4251 +https://github.com/cs3org/reva/pull/3167