When /v1/bequeath-your-data-and-die is executed ,call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" should not be executed if new-application is of same release and same application name #432
When we trigger /v1/bequeath-your-data-and-die for oldRelease as application of same release and same application name got deployed in new-application-address and new-application-port .
Then during call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" , deregister-application will be sent with current-application-name and current-release-number which is same as new-application-name and new-release-number in this case , it will lead to end of subscriptions .
Solution:
Call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" should not be executed if new-application is of same release and same application name.
Problem Description:
When we trigger /v1/bequeath-your-data-and-die for oldRelease as application of same release and same application name got deployed in new-application-address and new-application-port .
Then during call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" , deregister-application will be sent with current-application-name and current-release-number which is same as new-application-name and new-release-number in this case , it will lead to end of subscriptions .
Solution: Call back "PromptForBequeathingDataCausesRequestForDeregisteringOfOldRelease" should not be executed if new-application is of same release and same application name.