Information about xp cluster and its nodes from lib-cluster

Request from a customer, if lib-cluster can provide the following information

  • Are we running in a cluster?
  • Is the current node set up as a master? (the parameter “isMaster” tells if a master node is leader or not)
  • How many nodes are in the cluster?
  • How many masters are in the cluster?

Hi, In general - developers do not need to worry about if you are running in a cluster or not. However, it is clearly useful from management perspectives. We’ve added this to the backlog. No ETA yet.