tarantool / vshard

The new generation of sharding based on virtual buckets
Other
98 stars 29 forks source link

replicaset: validate name in replicaset_locate_master #462

Closed Serpentian closed 5 months ago

Serpentian commented 6 months ago

Currently, the name validation is not used, when locate_master() is called. It makes an explicit call via the connection to obtain a future object in order to figure out, whether the node is a master.

We should not make any calls to a replica until the time, we definitely know, that its name and uuid was validated. Let's use replica_call instead of conn.call.

Follow-up #426

NO_DOC=bugfix