Skip to content

Commit aa89b2a

Browse files
committed
MB-51458 do not copy the whole ns_config when computing quirks
ensuring consistent snapshot is not important here, because all the keys involved are changed seldom and via diag/eval Change-Id: I806ec9415b1d2f964f1142f7120cdc212006e140 Reviewed-on: https://review.couchbase.org/c/ns_server/+/172617 Well-Formed: Restriction Checker Well-Formed: Build Bot <[email protected]> Reviewed-by: Timofey Barmin <[email protected]> Tested-by: Artem Stemkovski <[email protected]>
1 parent 0fb42c7 commit aa89b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rebalance_quirks.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
%% APIs
2626
get_quirks(Nodes) ->
27-
Config = ns_config:get(),
27+
Config = ns_config:latest(),
2828
OverrideQuirks =
2929
lists:filtermap(
3030
fun (Node) ->

0 commit comments

Comments
 (0)