Is there a way to know if my command will be executed on a master or worker node before executing it?
If there is a queue for the action, it will run on a worker node. If the command runs synchronously (returns the result when run), it will run on the master node.
If you want to run a synchronous command on a worker node, you can tunnel directly to a worker and then run the command.
While I understand that, this may be a little nuanced for an inexperienced user, to know if a queue exists for an action. Is there nothing to do something like the following?
Oh ok, you mean is there a way to determine it programmatically. I don’t believe there’s a way to do that.