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().
*Dhairya Parmar*
Associate Software Engineer, CephFS
Red Hat Inc. <https://www.redhat.com/>
dparmar(a)redhat.com
<https://www.redhat.com/>
On Sun, Nov 26, 2023 at 7:11 PM Suyash Dongre <suyashd999(a)gmail.com> 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(a)ceph.io
To unsubscribe send an email to dev-leave(a)ceph.io