Skip to content

Commit

Permalink
Test nil uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson committed Nov 13, 2024
1 parent f22c94e commit f87b0cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cartridge/confapplier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,9 @@ local function boot_instance(clusterwide_config)
local box_info = box.info
vars.instance_uuid = box_info.uuid
vars.replicaset_uuid = box_info.cluster.uuid
if box_info.uuid == "00000000-0000-0000-0000-000000000000" or box_info.uuid == nil then
error('Nil UUID in membership')
end
membership.set_payload('uuid', box_info.uuid)

if topology_cfg.servers == nil
Expand Down

0 comments on commit f87b0cd

Please sign in to comment.