You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/01/29 17:56:29 UTC

[GitHub] [trafficcontrol] mitchell852 opened a new issue #4351: Provide a better message on DS create/update/delete to indicate if a CDN snapshot and/or queue updates is required

mitchell852 opened a new issue #4351: Provide a better message on DS create/update/delete to indicate if a CDN snapshot and/or queue updates is required
URL: https://github.com/apache/trafficcontrol/issues/4351
 
 
   ## I'm submitting a ...
   <!-- (check all that apply with "[x]") -->
   <!--- security vulnerability (STOP!! - see above)-->
   - [ ] bug report
   - [ ] new feature / enhancement request
   - [x] improvement request (usability, performance, tech debt, etc.)
   - [ ] other <!--(Please do not submit support requests here - see above)-->
   
   ## Traffic Control components affected ...
   <!-- (check all that apply with "[x]") -->
   - [ ] CDN in a Box
   - [ ] Documentation
   - [ ] Grove
   - [ ] Traffic Control Client
   - [ ] Traffic Monitor
   - [x] Traffic Ops
   - [ ] Traffic Ops ORT
   - [x] Traffic Portal
   - [ ] Traffic Router
   - [ ] Traffic Stats
   - [ ] Traffic Vault
   - [ ] unknown
   
   ## Current behavior:
   Currently when you successfully create/edit/delete a delivery service you get a very simple message like "DS create/updated/deleted successfully". However, creating, updating and deleting a delivery service requires more than simply persisting the change to the database. In some cases it requires a cdn snapshot for the changes to take affect and/or an ATS config file update via a queue updates of all servers in the cdn.
   
   ## Expected / new behavior:
   IMO it would be very helpful if the success message was something like:
   
   - DS updated successfully. A CDN snapshot is required for the changes to take affect.
   - DS updated successfully. Queue updates on all servers in the cdn for the changes to take affect.
   
   - DS created successfully. Queue updates on all servers in the cdn then perform a CDN snapshot for the changes to take affect.
   
   - DS deleted successfully. Perform a CDN snapshot then queue updates on all servers in the cdn for the changes to take affect.
   
   Of course in the case of an update this would require inspecting which properties changed to determine the appropriate message. 
   
   ## Minimal reproduction of the problem with instructions:
   create/update or delete a DS via the TO API or TP.
   
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services