Skip to content

Commit 6801568

Browse files
authored
Merge pull request #24 from OpenRiak/nhse-o34-orkv.i42-aae_tree_exclude
Add new bucket type default - by default buckets will NOT be excluded
2 parents c803aea + a9d3884 commit 6801568

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/riak_core_bucket_props.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ resolve_prop({sync_on_write, _}, {sync_on_write, one}) ->
188188
one;
189189
resolve_prop({sync_on_write, one}, {sync_on_write, _}) ->
190190
one;
191+
resolve_prop({aae_tree_exclude, Excl1}, {aae_tree_exclude, Excl2}) ->
192+
Excl1 andalso Excl2;
191193
resolve_prop({_, V1}, {_, _V2}) ->
192194
V1.
193195

src/riak_core_bucket_type.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ common_defaults() ->
163163
{notfound_ok, true},
164164
{n_val,3},
165165
{last_write_wins,false},
166+
{aae_tree_exclude, false},
166167
{precommit, []},
167168
{postcommit, []},
168169
{chash_keyfun, {riak_core_util, chash_std_keyfun}}].

0 commit comments

Comments
 (0)