dm icon indicating copy to clipboard operation
dm copied to clipboard

Add command to start-relay and stop-relay for all sources

Open GMHDBJD opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe

If we want to stop-relay or start-relay for all sources when meet problems or other reason, we need to operate-source show to see all bound relations and than start/stop it one by one.

Describe the feature you'd like

Add a command like

# no need to specify worker, DM auto choose the correct worker
stop-relay -s source1,source2
start-relay -s source1,source2
# stop/start for all sources
stop-relay -a
start-relay -a

Describe alternatives you've considered

No response

Teachability, Documentation, Adoption, Migration Strategy

No response

GMHDBJD avatar Oct 11 '21 04:10 GMHDBJD