Hi Suyash,
You'd need to look in the mds map to check if a particular mds exists. Browse
through MDSMap.h for functions like is_in(), is_up() or get_state().
through MDSMap.h for functions like is_in(), is_up() or get_state().
On Sun, Nov 26, 2023 at 7:11 PM Suyash Dongre <suyashd999@xxxxxxxxx> wrote:
The Monitor.cc has a function monmap->contains() which allows us to check whether the mon with a given id exists. This function is not present in MDSMonitor.cc, Any idea how to check whether mds with specific id(s) exists?_______________________________________________
Trying to fix: https://tracker.ceph.com/issues/42597
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx