Skip to content

Commit 75edf8c

Browse files
committed
Patch up botched merge text
1 parent eee534f commit 75edf8c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

content/develop/data-types/timeseries/configuration.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ Default: No compaction rules.
6464

6565
**Discussion**
6666

67-
<<<<<<< HEAD
68-
`COMPACTION_POLICY` has no effect on keys created with [`TS.CREATE`]({{< baseurl >}}/commands/ts.create/). To understand the motivation for this behavior, consider the following scenario: Suppose a `COMPACTION_POLICY` is defined, but then one wants to manually create an additional compaction rule (using [`TS.CREATERULE`]({{< baseurl >}}/commands/ts.createrule/)) which requires first creating an empty destination key (using [`TS.CREATE`]({{< baseurl >}}/commands/ts.create/)). But now there is a problem: due to the `COMPACTION_POLICY`, automatic compactions would be undesirably created for that destination key.
69-
=======
7067
#### Example
7168

7269
```
@@ -78,7 +75,6 @@ $ redis-server --loadmodule ./redistimeseries.so NUM_THREADS 3
7875
Default compaction rules for newly created key with [`TS.ADD`]({{< baseurl >}}commands/ts.add/), [`TS.INCRBY`]({{< baseurl >}}commands/ts.incrby/), and [`TS.DECRBY`]({{< baseurl >}}commands/ts.decrby/).
7976

8077
Note that `COMPACTION_POLICY` has no effect on keys created with [`TS.CREATE`]({{< baseurl >}}commands/ts.create/). To understand the motivation for this behavior, consider the following scenario: Suppose a `COMPACTION_POLICY` is defined, but then one wants to manually create an additional compaction rule (using [`TS.CREATERULE`]({{< baseurl >}}commands/ts.createrule/)) which requires first creating an empty destination key (using [`TS.CREATE`]({{< baseurl >}}commands/ts.create/)). But now there is a problem: due to the `COMPACTION_POLICY`, automatic compactions would be undesirably created for that destination key.
81-
>>>>>>> main
8278

8379
Each rule is separated by a semicolon (`;`), the rule consists of multiple fields that are separated by a colon (`:`):
8480

0 commit comments

Comments
 (0)