TASK: Document workspace behaviour after partially replaying with pruned content streams #5333
+183
−33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Followup to #5297
Upgrade instructions
Review instructions
I just discovered a "regression" or rather a behaviour change regarding workspaces. Previously one could always fetch them if they were in the projection. Now with the enhanced status calculation (#5274) because im doing a
join
on the content stream table instead ofleftJoin
we will only get a result if the content stream is also projected.That is most likely the case but when pruning the events from the event store and then only replaying to a certain sequence number i we have the situation of NOT having the content stream joinable.
In https://neos-project.slack.com/archives/C04PYL8H3/p1730383249323669 we discussed that the
null
behaviour (especially so thatfindWorkspaces
continues to work by only returning the live workspace is the best we can do for now.Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions