Skip to content

Commit

Permalink
TASK: Remove obsolete REBASE_ERROR content stream state
Browse files Browse the repository at this point in the history
Via #4965 the status REBASE_ERROR is obsolete.
Instead of still using this status on replay we mimic the new logic:
> In case of a [rebase error}, reopen the old content stream and remove the newly created

Additionally, to not break `findContentStreams` when fetching all content streams we make sure that the streams with `REBASE_ERROR` are transformed to `NO_LONGER_IN_USE` so they can be cleaned up.

Related neos/neos-development-collection#5101
  • Loading branch information
mhsdesign committed Oct 17, 2024
1 parent 3df502c commit eec8334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Command/ContentStreamCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ContentStreamCommandController extends CommandController
* To remove the deleted Content Streams, use `./flow contentStream:pruneRemovedFromEventStream` after running
* `./flow contentStream:prune`.
*
* By default, only content streams in STATE_NO_LONGER_IN_USE and STATE_REBASE_ERROR will be removed.
* By default, only content streams that are NO_LONGER_IN_USE will be removed.
* If you also call with "--removeTemporary", will delete ALL content streams which are currently not assigned
* to a workspace (f.e. dangling ones in FORKED or CREATED.).
*
Expand Down

0 comments on commit eec8334

Please sign in to comment.