mirror of https://github.com/apache/nifi.git
NIFI-11473 Flow version change in NiFi should not stop a component when only position is changed
Signed-off-by: Matthew Burgess <mattyb149@apache.org>
This commit is contained in:
parent
bde8731a2f
commit
b146ab7407
|
@ -217,6 +217,10 @@ public class StandardVersionedComponentSynchronizer implements VersionedComponen
|
|||
}
|
||||
}
|
||||
|
||||
if (diff.getDifferenceType() == DifferenceType.POSITION_CHANGED) {
|
||||
continue;
|
||||
}
|
||||
|
||||
final VersionedComponent component = diff.getComponentA() == null ? diff.getComponentB() : diff.getComponentA();
|
||||
updatedVersionedComponentIds.add(component.getIdentifier());
|
||||
|
||||
|
|
|
@ -5505,6 +5505,7 @@ public class StandardNiFiServiceFacade implements NiFiServiceFacade {
|
|||
.filter(diff -> !FlowDifferenceFilters.isScheduledStateNew(diff))
|
||||
.filter(diff -> !FlowDifferenceFilters.isLocalScheduleStateChange(diff))
|
||||
.filter(diff -> !FlowDifferenceFilters.isPropertyMissingFromGhostComponent(diff, flowManager))
|
||||
.filter(difference -> difference.getDifferenceType() != DifferenceType.POSITION_CHANGED)
|
||||
.map(difference -> {
|
||||
final VersionedComponent localComponent = difference.getComponentA();
|
||||
|
||||
|
|
Loading…
Reference in New Issue