nifi/nifi-nar-bundles/nifi-redis-bundle
Peter Turcsanyi 878d2e025f
NIFI-11595 StateProvider.replace() supports creating the initial state
- 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)
2023-09-19 12:32:03 -05:00
..