From 2512844e7238d8c6b7b43281e6dcef859c0a17e3 Mon Sep 17 00:00:00 2001 From: Lior Kogan Date: Sun, 23 Feb 2025 15:00:02 +0200 Subject: [PATCH 1/2] Align the warning with COMPACTION_POLICY warning --- content/commands/ts.createrule/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/commands/ts.createrule/index.md b/content/commands/ts.createrule/index.md index 5ddecbea8b..a2edd577a1 100644 --- a/content/commands/ts.createrule/index.md +++ b/content/commands/ts.createrule/index.md @@ -133,7 +133,7 @@ aggregates results into time buckets. - Deleting `destKey` will cause the compaction rule to be deleted as well. {{% warning %}} -On a clustered environment, you must use [hash tags]({{< relref "/operate/oss_and_stack/reference/cluster-spec" >}}#hash-tags) to force `sourceKey` and `destKey` to be stored in the same hash slot. +On a clustered environment, you must use [hash tags]({{< relref "/operate/oss_and_stack/reference/cluster-spec" >}}#hash-tags) to force `sourceKey` and `destKey` to be stored in the same hash slot. If you don't, Redis may fail to compact the data without displaying any error messages. {{% /warning %}} From 3a346063a4724a64d7344aa467715c13e4897a0e Mon Sep 17 00:00:00 2001 From: David Dougherty Date: Mon, 24 Feb 2025 06:25:44 -0800 Subject: [PATCH 2/2] Apply suggestions from code review --- content/commands/ts.createrule/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/commands/ts.createrule/index.md b/content/commands/ts.createrule/index.md index a2edd577a1..74cfe1ada9 100644 --- a/content/commands/ts.createrule/index.md +++ b/content/commands/ts.createrule/index.md @@ -133,7 +133,7 @@ aggregates results into time buckets. - Deleting `destKey` will cause the compaction rule to be deleted as well. {{% warning %}} -On a clustered environment, you must use [hash tags]({{< relref "/operate/oss_and_stack/reference/cluster-spec" >}}#hash-tags) to force `sourceKey` and `destKey` to be stored in the same hash slot. If you don't, Redis may fail to compact the data without displaying any error messages. +In a clustered environment, you must use [hash tags]({{< relref "/operate/oss_and_stack/reference/cluster-spec" >}}#hash-tags) to force `sourceKey` and `destKey` to be stored in the same hash slot. If you don't, Redis may fail to compact the data without displaying any error messages. {{% /warning %}}