apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.08k stars 344 forks source link

TP/TO: Queuing Servers for updates - Queues up all the servers #4137

Open lbathina opened 4 years ago

lbathina commented 4 years ago

I'm submitting a ...

Traffic Control components affected ...

Current behavior:

When Queue Server Updates is performed All the servers other than edges and mids get the wait icon next to it.

Expected / new behavior:

Only Mids and Edges should be queued for updates and the wait/pending icon should be displayed next to only edge and mid servers

Minimal reproduction of the problem with instructions:

Anything else:

ocket8888 commented 4 years ago

What do you mean by "Queue Server Updates"? There are a few different ways to do that. What exactly did you do?

mitchell852 commented 4 years ago

What do you mean by "Queue Server Updates"? There are a few different ways to do that. What exactly did you do?

She queued server updates at the cdn level which will queue ALL servers in the CDN even though only Edges / Mids are affected by a "queue". This won't hurt anything but it is kind of silly to set the upd_pending flag = true on anything besides an Edge / Mid

IMO, 2 things should be fixed:

ocket8888 commented 4 years ago

I think other server types can meaningfully have pending updates, although I can't quite remember for sure.

mitchell852 commented 4 years ago

I think other server types can meaningfully have pending updates, although I can't quite remember for sure.

hmmm. i don't think so...but i guess i'm not 100% sure...I always think of "queue updates" as meaning "queue ats config file updates" which would imply only things running ATS (edges or mids)