Skip to content

Commit c2cb7b8

Browse files
committed
MB-68157: Correct warmup_behavior upgrade
A recent change broke upgrade of bucket configs when attempting to upgrade the warmup_behavior. This is now corrected. Change-Id: I3354b8aa7a355e474308119c5e9d9b9a38309f7f Reviewed-on: https://review.couchbase.org/c/ns_server/+/232543 Tested-by: Build Bot <[email protected]> Reviewed-by: Neelima Premsankar <[email protected]> Reviewed-by: Ben Huddleston <[email protected]> Tested-by: Steve Watanabe <[email protected]>
1 parent e5f9313 commit c2cb7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/ns_server/src/ns_bucket.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2899,7 +2899,7 @@ chronicle_upgrade_bucket_props_to_79(BucketName, ChronicleTxn) ->
28992899
{memory_high_watermark,
29002900
attribute_default(memory_high_watermark)},
29012901
{warmup_behavior,
2902-
attribute_default(attribute_default)},
2902+
attribute_default(warmup_behavior)},
29032903
{durability_impossible_fallback,
29042904
attribute_default(durability_impossible_fallback)},
29052905
%% The default value isn't used for existing buckets as it

0 commit comments

Comments
 (0)