Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.5.17, 6.2.0
-
None
Description
When a service is linked to a xpandmon monitor which has already discovered all the nodes, the existing servers (dynamic nodes created by xpandmon) don't seem to be added to the service. This causes the service to have no servers in it.
With a monitor like this in the configuration:
[Xpand-Monitor]
|
type=monitor
|
module=xpandmon
|
user=user
|
password=pw
|
servers=bootstrap
|
monitor_interval=2000
|
and with a service created like this:
maxctrl create service Xpand-Service readwritesplit user=user password=password
|
maxctrl link service Xpand-Service Xpand-Monitor
|
maxctrl create listener Xpand-Service Xpand-Listener 4006
|
If xpandmon has already discovered all nodes, the servers won't be added to the service and as a result, it behaves as if it had no nodes. A workaround to this is to unlink and link the bootstrap server to the monitor.