Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, Monitor was only able to monitor processes already started. It could not detect a new processes if it was started after monitor started monitoring. This change uses the new monitor scripts `monitor_local.sh` & `monitor_remote.sh` which produces a frame of processes when any cockroach process changes occur including when a new cockroach process is started. The logic for detecting changes in processes has been moved to the "client" side. The scripts are now less complicated and only have the responsibility of sending through a frame of processes. A frame consists of the cluster label, process id, and processes status of all cockroach processes. In addition, Monitor has been moved into its own source file for better separation of logic. The `ignore empty nodes` functionality has also been removed, as it is an unreliable way of detecting "empty nodes", and does not serve any real purpose anymore. Informs: cockroachdb#118214 Epic: None
- Loading branch information