tarantool / vshard

The new generation of sharding based on virtual buckets
Other
100 stars 31 forks source link

storage: fix hot reload with named identification #466

Closed Serpentian closed 8 months ago

Serpentian commented 9 months ago

Currently hot reload failes, when named identification is used. It is cause by the fact, that we still pass uuid in storage.cfg during reload.

Let's pass id instead of UUID. It's either uuid or name, depeding on identification_mode. If reload is done from the old version, where no replica.id exists, we fall back to replica.uuid.

Closes #464

NO_DOC=bugfix