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 2019/04/17 17:45:54 UTC

[GitHub] [trafficcontrol] mitchell852 commented on issue #3493: Move TO DS nonversioned logic to separate file.

mitchell852 commented on issue #3493: Move TO DS nonversioned logic to separate file.
URL: https://github.com/apache/trafficcontrol/pull/3493#issuecomment-484192729
 
 
   i do think making the current way easier is a big plus as i just went thru adding a field to a DS and it was painful. 
   
   the data loss is concerning, however. just so i understand the problem @rawlinp @rob05c 
   
   1.2 client makes an api request to PUT /api/1.2/foos/1 with { a: 1, b: 2, c: 3 }
   
   in 1.3, d was added with a default of 0
   in 1.4, e was added with a default of 0
   
   so basically that call to PUT /api/1.2/foos/1 will result in
   a=1
   b=2
   c=3
   d=0
   e=0
   
   when there might have been some real values in d and e for foo=1...
   

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