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/11/05 16:34:09 UTC

[GitHub] [trafficcontrol] mitchell852 opened a new issue #1876: CDN snapshot diff always has a diff with tm_path

mitchell852 opened a new issue #1876:
URL: https://github.com/apache/trafficcontrol/issues/1876


   When performing a snapshot diff in Traffic Portal, the tm_path value under the Stats tab is always different
   
   ![image](https://user-images.githubusercontent.com/251272/36172315-b9a52c9e-10c2-11e8-974e-3bf13b401734.png)
   
   This is because the "old" tm_path always includes the endpoint that was used to perform the current snapshot:
   
   /tools/write_crconfig/cdn1 (if snapshot was performed thru old TO UI)
   or
   /api/1.3/cdns/:id/snapshot (if snapshot was performed thru the API (or TP))
   
   and the "new" tm_path always includes the path used to fetch the "new" snapshot:
   
   /api/1.3/cdns/cdn1/snapshot/new
   
   hence, always a diff.
   
   my suggestion is that tm_path is removed altogether as it appears to not be used anywhere and is purely informational.
   
   https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/UI/Topology.pm#L64
   
   
   
   
   
   


----------------------------------------------------------------
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



[GitHub] [trafficcontrol] mitchell852 commented on issue #1876: CDN snapshot diff always has a diff with tm_path

Posted by GitBox <gi...@apache.org>.
mitchell852 commented on issue #1876:
URL: https://github.com/apache/trafficcontrol/issues/1876#issuecomment-722490284


   not sure why this was closed. reopening.


----------------------------------------------------------------
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



[GitHub] [trafficcontrol] zrhoffman closed issue #1876: CDN snapshot diff always has a diff with tm_path

Posted by GitBox <gi...@apache.org>.
zrhoffman closed issue #1876:
URL: https://github.com/apache/trafficcontrol/issues/1876


   


----------------------------------------------------------------
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



[GitHub] [trafficcontrol] zrhoffman closed issue #1876: CDN snapshot diff always has a diff with tm_path

Posted by GitBox <gi...@apache.org>.
zrhoffman closed issue #1876:
URL: https://github.com/apache/trafficcontrol/issues/1876


   


----------------------------------------------------------------
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