Re: "application_version" is changed although source code is not changed.
Matthew Sykes <matthew.sykes@...>
The application version really represents the versioned metadata for the
application. It changes regularly. [1] The only guarantee for version is that it will change if the app restarts (could be due to package changes or explicit operation), the health check changes, or the memory changes. The droplet hash is not an appropriate representation of "application" version since it doesn't take enough into account. It is something that could be added to VCAP_APPLICATION but I think people would want to understand why it's needed there. Out of curiosity, are people acting on the application version in a way that breaks things if it changes when the app bits or droplet did not? If so, how? Thanks. [1]: https://github.com/cloudfoundry/cloud_controller_ng/blob/master/app/models/runtime/app.rb#L164-L178 On Fri, Oct 16, 2015 at 3:15 AM, Gerhard Lazu <gerhard(a)cloudcredo.com> wrote: I was also assuming that app version would not change between app restarts -- Matthew Sykes matthew.sykes(a)gmail.com
|
|