Skip to content

Commit 581a75c

Browse files
[DOC-12023] Add a note about the maxTTL setting (8.0) (#623)
1 parent 3a85e70 commit 581a75c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

modules/n1ql/pages/n1ql-language-reference/createcollection.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ Only the `maxTTL` attribute is valid; any other attributes generate an error.
8989

9090
|**maxTTL** +
9191
__required__
92-
|The maximum time-to-live for any item in the collection.
92+
|[.status]#Enterprise Edition#
93+
94+
The maximum time-to-live for any item in the collection.
9395
May have any of the following values.
9496

9597
`0` or unspecified: The collection inherits the maximum time-to-live setting from the bucket which contains it.
@@ -100,6 +102,10 @@ Overrides the maximum time-to-live set by the bucket.
100102
`-1`: By default, items in the collection never expire.
101103
Overrides the maximum time-to-live set by the bucket.
102104

105+
NOTE: `maxTTL` is an Enterprise Edition setting.
106+
While the attribute is available in Community Edition, it only supports the value `0`.
107+
Setting `maxTTL` to any other value in Community Edition results in an error.
108+
103109
|integer
104110
|===
105111

0 commit comments

Comments
 (0)