scylladb / scylla-manager

The Scylla Manager
https://manager.docs.scylladb.com/stable/
Other
48 stars 33 forks source link

Use cached node info from configcache svc in other packages #3892

Open Michal-Leszczynski opened 1 week ago

Michal-Leszczynski commented 1 week ago

Many packages (backup/repair/restore) needs to query node info. Right now they are simply using the scylla client to do so, but since configcache service already stores node info (and more) and updates it periodically, other packages should take node info from configcache in order to avoid unnecessary API calls and simplify the code.

Michal-Leszczynski commented 1 week ago

This could improve session setup as described in https://github.com/scylladb/scylla-manager/pull/3888#discussion_r1647178187.