mirror of
https://github.com/apache/nifi.git
synced 2025-02-21 01:46:51 +00:00
- Extracted common logic from setState() and replace() into modifyState() - Removed redundant code from createNode() because exceptions are handled on the caller side - NodeExistsException and InterruptedException are handled in setState() and replace() - Also used KeeperException's subclasses instead of KeeperException.code() This closes #7324 Signed-off-by: David Handermann <exceptionfactory@apache.org> (cherry picked from commit ac80b9d900221fedb59142e4a4802bf4ab2a17f4)