[TC-553] Queue updates API queues updates on all servers, not just caches
If you use the API to queue updates for a CDN it queues updates for all servers. It should only queue updates for caches. This doesn't really cause any harm, but it's not correct and it makes it so that the other components (TR, TM, etc) show up as queued in the UI, which is annoying.
Author: David Neuman JIRA Link: https://issues.apache.org/jira/browse/TC-553
Maybe to ensure that non-caches always have upd_pending = false, when you queue updates for a cdn, cachegroup, or topology, first set ALL servers in that cdn, cachegroup or topology to upd_pending = false (to reset them) and then set all CACHE servers to upd_pending = true. (leaving the non-cache servers at upd_pending = false)
Also, if you try to queue updates directly on a non-cache server a 400 should probably be returned.
there is a challenge with this however. how does one know what is a "cache" and what is not a cache? that needs to be figured out before this can be fixed imo.
i.e. #7076