-
Notifications
You must be signed in to change notification settings - Fork 556
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
Split deployment distribution behavior #9872
Conversation
...io/camunda/zeebe/engine/processing/deployment/distribute/DeploymentPartitionDistributor.java
Fixed
Show fixed
Hide fixed
...io/camunda/zeebe/engine/processing/deployment/distribute/DeploymentPartitionDistributor.java
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reviewing the changes in this PR I wanted to accept it, but I did expect some conflicts with #9858. Now that #9858 is merged, it's clear that it doesn't just conflict but completely replaces the code that was extracted here. I think there's no need for this PR anymore, as the new implementation doesn't have the problem that this PR tried to fix.
@pihme I guess this review came just too late, sorry about that 🙇
@korthout This PR still has one purpose: to remove |
e2bc6bd
to
d2709ca
Compare
Closing this PR as its description is obsolete. PR will be recreated with updated description |
9967: Remove writers from interface r=pihme a=pihme ## Description This PR removes the writers fronm `ReadOnlyStreamProcessorContext`. This is important, because the writers are an engine-internal construct, only valid during calls to `process(...)` or `onError(...)` and must not be handed out to other classes. ## Related issues relates to #9725 replaces #9872 Co-authored-by: pihme <pihme@users.noreply.github.com>
9967: Remove writers from interface r=pihme a=pihme ## Description This PR removes the writers fronm `ReadOnlyStreamProcessorContext`. This is important, because the writers are an engine-internal construct, only valid during calls to `process(...)` or `onError(...)` and must not be handed out to other classes. ## Related issues relates to #9725 replaces #9872 Co-authored-by: pihme <pihme@users.noreply.github.com>
Description
Splits the
DeploymentDistributionBehavior
into two classes. Splitting it reduces dependencies for one sub-class. This allows to remove dependency toWriters
inReadOnlyStreamProcesorContext
Related issues
relates to #9725
Review hints
Definition of Done
Not all items need to be done depending on the issue and the pull request.
Code changes:
backport stable/1.3
) to the PR, in case that fails you need to create backports manually.Testing:
Documentation:
Please refer to our review guidelines.