Re: how to check mds with specfic id exists?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

dparmar@xxxxxxxxxx



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

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux