Skip to content

Fix: Physical view not being created when needed for non-deployable indirect non-breaking snapshots#3619

Merged
izeigerman merged 1 commit intomainfrom
fix-missing-physical-view-indirect-non-breaking-snapshot
Jan 13, 2025
Merged

Fix: Physical view not being created when needed for non-deployable indirect non-breaking snapshots#3619
izeigerman merged 1 commit intomainfrom
fix-missing-physical-view-indirect-non-breaking-snapshot

Conversation

@izeigerman
Copy link
Copy Markdown
Collaborator

@izeigerman izeigerman commented Jan 11, 2025

In very rare scenarios, there might be a snapshot of a view model that is representative but not deployable, while the corresponding physical view has not yet been created for it.

One example of this happening is the following scenario:
Model DAG: A (forward-only) -> B (non-forward-only) -> C (view).

  1. Make some change to A in dev. Everything categorized as forward-only
  2. Make a follow-up breaking change to B in dev. C is now INDIRECT_BREAKING. The deployable view hasn't been created at this point*
  3. Deploy the 1st change to prod without deploying the 2nd change.
  4. Make another change to B, this time non-breaking, still in dev. C is now INDIRECT_NON_BREAKING. Applying this change fails with missing view

*The view hasn't been created at this point due to a different issue which is outlined in this PR: #2899

@izeigerman izeigerman requested a review from a team January 11, 2025 04:46
@izeigerman izeigerman force-pushed the fix-missing-physical-view-indirect-non-breaking-snapshot branch from 14818fc to d77a48a Compare January 13, 2025 00:45
@izeigerman izeigerman merged commit e112b52 into main Jan 13, 2025
@izeigerman izeigerman deleted the fix-missing-physical-view-indirect-non-breaking-snapshot branch January 13, 2025 01:15
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

Successfully merging this pull request may close these issues.

2 participants