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

Reminder: drop owner_removed column on each projection #6885

Open
muhlemmer opened this issue Nov 7, 2023 · 0 comments
Open

Reminder: drop owner_removed column on each projection #6885

muhlemmer opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@muhlemmer
Copy link
Contributor

muhlemmer commented Nov 7, 2023

The owner_removed column is legacy and was only kept around after #6083 on all projections in order to prevent migrating all of them at once, which could result in downtime. The new projection handlers already use a DELETE statement for owner removed events. Only entries that are older than v2.37 are kept around with owner_removed set to true.

This issue is a reminder for all devs, external and internal @zitadel/engineers:

When you are changing a projection, also drop the owner_removed column.

This way we can gradually migrate and cleanup old owner_removed = true entries.

@muhlemmer muhlemmer changed the title Reminder: drop owner_removed column on each project Reminder: drop owner_removed column on each projection Nov 7, 2023
@muhlemmer muhlemmer pinned this issue Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

No branches or pull requests

5 participants