Skip to content

Commit 35a4d48

Browse files
committed
MB-50642: Add preserveExpiry as a bucket capability
Change-Id: I50c57f5c93aab678f04957619d14f1b035367ad9 Reviewed-on: https://review.couchbase.org/c/ns_server/+/172497 Tested-by: Navdeep S Boparai <[email protected]> Well-Formed: Build Bot <[email protected]> Reviewed-by: Steve Watanabe <[email protected]>
1 parent 4eda678 commit 35a4d48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bucket_info_cache.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ build_bucket_capabilities(BucketConfig) ->
283283
{'subdoc.DocumentMacroSupport',
284284
cluster_compat_mode:is_cluster_70()},
285285
{'subdoc.ReviveDocument',
286-
cluster_compat_mode:is_cluster_71()}],
286+
cluster_compat_mode:is_cluster_71()},
287+
{preserveExpiry,
288+
cluster_compat_mode:is_cluster_MORPHEUS()}],
287289

288290
[C || {C, true} <- Conditional] ++
289291
[dcp, cbhello, touch, cccp, xdcrCheckpointing, nodesExt,

0 commit comments

Comments
 (0)