ahgittin commented on pull request #1144: URL: https://github.com/apache/brooklyn-server/pull/1144#issuecomment-773256297
The problem here is that if we have a snapshot bundle, say `foo:1-SNAPSHOT`, and we add it when it's in state A, then add when in state B, and then try to add state A again. The last add is ignored because it matches a previous state, when actually it should match the most recent state. I think this needs specific logic to compare with the checksum of the most recent version of a bundle:version, bail out if those match. And then extra logic if it matches a previous known state of a bundle:version then it restores that (this. might be a new result code). This also needs a test. ---------------------------------------------------------------- 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: [email protected]
