[
https://issues.apache.org/jira/browse/IGNITE-10695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Mashenkov updated IGNITE-10695:
--------------------------------------
Description:
Operation like putIfAbsent and replace now tries to transfer Predicate instance
(filter) to remote node.
# Predicates are transferred to remote node with each update.
# Predicate should be transferred only for "replace" operation if certain
entry provided, otherwise we should send a correct operation code and use
corresponding static filter on remote side.
# This change will break protocol compatibility. Should we bother about it?
Let's fix protocol and add tests.
was:
Operation like putIfAbsent and replace now tries to transfer Predicate instance
(filter) to remote node.
# Almost all filters can't be serialized as they do not have assigned direct
type.
# Seems, we have no enough tests and we miss remote-call case for such
operations.
# Predicate should be transferred only for "replace" operation if certain
entry provided, otherwise we should send a correct operation code and use
corresponding static filter on remote side.
# This change will break protocol compatibility. Should we bother about it?
Let's fix protocol and add tests.
> MVCC: Fix cache API conditional update operations.
> --------------------------------------------------
>
> Key: IGNITE-10695
> URL: https://issues.apache.org/jira/browse/IGNITE-10695
> Project: Ignite
> Issue Type: Bug
> Components: mvcc
> Affects Versions: 2.7
> Reporter: Andrew Mashenkov
> Assignee: Andrew Mashenkov
> Priority: Major
> Fix For: 2.8
>
>
> Operation like putIfAbsent and replace now tries to transfer Predicate
> instance (filter) to remote node.
> # Predicates are transferred to remote node with each update.
> # Predicate should be transferred only for "replace" operation if certain
> entry provided, otherwise we should send a correct operation code and use
> corresponding static filter on remote side.
> # This change will break protocol compatibility. Should we bother about it?
> Let's fix protocol and add tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)