Skip to content

Commit

Permalink
MB-42330: Add subdoc bucket capabilities
Browse files Browse the repository at this point in the history
Change-Id: I9bfd946ad0805c58409388c952d4e8602a2f9915
Reviewed-on: http://review.couchbase.org/c/ns_server/+/139224
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Tested-by: Dave Finlay <dave.finlay@couchbase.com>
Reviewed-by: Abhijeeth Nuthan <abhijeeth.nuthan@couchbase.com>
  • Loading branch information
dave-finlay committed Nov 3, 2020
1 parent 0aa17b7 commit e34714a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bucket_info_cache.erl
Expand Up @@ -275,7 +275,11 @@ build_bucket_capabilities(BucketConfig) ->
{durableWrite, cluster_compat_mode:is_cluster_65()},
{tombstonedUserXAttrs,
cluster_compat_mode:is_cluster_66()},
{couchapi, ns_bucket:can_have_views(BucketConfig)}],
{couchapi, ns_bucket:can_have_views(BucketConfig)},
{'subdoc.ReplaceBodyWithXattr',
cluster_compat_mode:is_cluster_cheshirecat()},
{'subdoc.DocumentMacroSupport',
cluster_compat_mode:is_cluster_cheshirecat()}],

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

0 comments on commit e34714a

Please sign in to comment.