Skip to content

Commit

Permalink
MB-32880: Add durableWrite to bucket capabilities.
Browse files Browse the repository at this point in the history
Change-Id: Ic8e00dd9901ff4ff6312af59f8d8606e6d0bfeda
Reviewed-on: http://review.couchbase.org/105943
Reviewed-by: Dave Rigby <daver@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com>
  • Loading branch information
anuthan authored and Aliaksey Artamonau committed Apr 5, 2019
1 parent 5672ab2 commit 9227d66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/menelaus_web_buckets.erl
Expand Up @@ -406,7 +406,8 @@ build_bucket_capabilities(BucketConfig) ->
MoreCaps =
[C || {C, true} <-
[{xattr, cluster_compat_mode:is_cluster_50()},
{collections, collections:enabled(BucketConfig)}]],
{collections, collections:enabled(BucketConfig)},
{durableWrite, cluster_compat_mode:is_cluster_madhatter()}]],

Caps =
case ns_bucket:bucket_type(BucketConfig) of
Expand Down

0 comments on commit 9227d66

Please sign in to comment.