[
https://issues.apache.org/jira/browse/NIFI-16182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103668#comment-18103668
]
ASF subversion and git services commented on NIFI-16182:
--------------------------------------------------------
Commit 276c3ce1f92aaf2d97f352fb38db61edae7834e6 in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=276c3ce1f92 ]
NIFI-16182 Fixed revision equality check in WaitNotifyProtocol (#11527)
> Wait processor fails with ConcurrentModificationException when using Redis as
> the cache service
> -----------------------------------------------------------------------------------------------
>
> Key: NIFI-16182
> URL: https://issues.apache.org/jira/browse/NIFI-16182
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> NIFI-15883 added optimistic locking for the Wait/Notify signal cache entries.
> The revision check properly works for simple revision types (typically a long
> value is used) but fails when the revision is a raw byte array, like in case
> of
> [RedisDistributedMapCacheClientService|https://github.com/apache/nifi/blob/96737bbd588dd6fea2b6624c9cffae55557fce72/nifi-extension-bundles/nifi-redis-bundle/nifi-redis-extensions/src/main/java/org/apache/nifi/redis/service/RedisDistributedMapCacheClientService.java#L76-L77].
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)