Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DB Schema in Combination with Blue-Green Deployment #965

Open
nocin opened this issue May 27, 2024 · 2 comments
Open

Update DB Schema in Combination with Blue-Green Deployment #965

nocin opened this issue May 27, 2024 · 2 comments
Assignees

Comments

@nocin
Copy link
Contributor

nocin commented May 27, 2024

Hi,

via #427 I found the new content related to DB schema updates.
In this section are two new topics for me. First, that you can update the DB schema using cds-mtx update, and second, that you can combine this with Blue-Green Deployment. I have two question on that.

I would like to setup up Blue-Green Deployment for our Multitenant application, but we are not using a sidecar, means we are not using cds-mtx.

The command must be run in the MTX application / sidecar root directory with the application environment.

Does cds-mtx update work, when not having a sidecar?

And is there any more content related to CAP and Blue-Green Deployment?
The only post I found in this community is this one, which raises the question, what happens if a DB model upgrade fails? Is there any rollback? From my understanding this is not possible, because the previous live version is deleted, when setting the idle version productive.

It would really help, if the CAP docs can be enhanced on this topic.

Thanks!
Nico

@renejeglinsky
Copy link
Contributor

Hi @nocin ,

Thanks for raising this question. I'll get back to you soon after reCAP.

@renejeglinsky
Copy link
Contributor

Hi @nocin ,
I'm picking this up now and let you know about the progress.
Thanks,
René

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants