From 184eb0d73fb9ef1c8d4ec6dcf117e2d71b268119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Fri, 20 Sep 2024 14:50:04 +0200 Subject: [PATCH] Revert "fix(store): encode nats-js-kv keys" This reverts commit df0ba6d4af0689c005940f197b2244b60cac07a3. reva 2.19 does not encode the keys in the store --- changelog/unreleased/fix-nats-encoding.md | 6 ------ pkg/store/store.go | 1 - 2 files changed, 7 deletions(-) delete mode 100644 changelog/unreleased/fix-nats-encoding.md diff --git a/changelog/unreleased/fix-nats-encoding.md b/changelog/unreleased/fix-nats-encoding.md deleted file mode 100644 index e2e6761ea6..0000000000 --- a/changelog/unreleased/fix-nats-encoding.md +++ /dev/null @@ -1,6 +0,0 @@ -Bugfix: Fix nats encoding - -Encode nats-js-kv keys. This got lost by a dependency bump. - -https://github.com/cs3org/reva/pull/4842 -https://github.com/cs3org/reva/pull/4678 diff --git a/pkg/store/store.go b/pkg/store/store.go index b18d3f5de8..0038d00580 100644 --- a/pkg/store/store.go +++ b/pkg/store/store.go @@ -152,7 +152,6 @@ func Create(opts ...microstore.Option) microstore.Store { return natsjskv.NewStore( append(opts, natsjskv.NatsOptions(natsOptions), // always pass in properly initialized default nats options - natsjskv.EncodeKeys(), natsjskv.DefaultTTL(ttl))..., ) case TypeMemory, "mem", "": // allow existing short form and use as default