Reputation: 13
Need to achieve zero down time during deployment. Scenario is i have totally 6 production boxes where my code will be deployed. First code will be deployed in 3 boxes. At this point of time i will have both my old and new code up and running. i am applying a encryption logic in my one of my table in DB which will be handled only by my new code. My application will fail when user hits my old code base. What are the possible solutions. My application is java application and i user oracle 10g.
Upvotes: 1
Views: 137
Reputation: 7299
The failure state is old code + new data so the transition stage needs to be new code + old data. Your new code needs to be able to tell the difference between old and new data and work with both. Then once all the old code is gone you can transition to the new data format.
Upvotes: 0
Reputation: 691933
The solution is to have a sequence of releases that allows that. Suppose that the code, before the update, uses a plain-text column named A.
Upvotes: 3