Skip to content

Commit

Permalink
MB-52195 Tag "system" collections in bucket manifest
Browse files Browse the repository at this point in the history
This change adds {"system": true} to the system collections. Currently
these are _query, _mobile, _eventing.

Change-Id: I82d44faea92f72853f124f4ddbcf53d3145ca1d7
Reviewed-on: https://review.couchbase.org/c/ns_server/+/175452
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Steve Watanabe <steve.watanabe@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Bryan McCoid <bryan.mccoid@couchbase.com>
  • Loading branch information
stevewatanabe committed Jun 1, 2022
1 parent 7ff347d commit 7a40381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collections.erl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ manifest_with_system_scope() ->
{NextId, Collections} =
lists:foldl(
fun (Name, {Id, Cols}) ->
{Id + 1, [{Name, [{uid, Id}]}] ++ Cols}
{Id + 1, [{Name, [{uid, Id}, {"system", true}]}] ++ Cols}
end, {8, []}, system_collections()),

[{uid, 0},
Expand Down

0 comments on commit 7a40381

Please sign in to comment.