From f87b0cd6e44086f17dd38c5e13d4678557f898ee Mon Sep 17 00:00:00 2001 From: Igor Zolotarev Date: Wed, 13 Nov 2024 13:47:05 +0300 Subject: [PATCH] Test nil uuid --- cartridge/confapplier.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cartridge/confapplier.lua b/cartridge/confapplier.lua index a8e0b4570..ed819571d 100644 --- a/cartridge/confapplier.lua +++ b/cartridge/confapplier.lua @@ -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