[JBoss JIRA] (ISPN-7841) Add stream operations that can operate upon data exclusively
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-7841?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-7841:
--------------------------------
Status: Open (was: New)
> Add stream operations that can operate upon data exclusively
> ------------------------------------------------------------
>
> Key: ISPN-7841
> URL: https://issues.jboss.org/browse/ISPN-7841
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Distributed Execution and Map/Reduce
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.1.0.Final
>
>
> It would be nice to have a way to perform a stream operation where the data performed upon is done in an exclusive way. That is that the data cannot change while it is being processed upon. This is only at the level of per key. For example non tx cache could temporarily lock the entry to prevent a write. The same could occur with pessimistic transactions. Optimistic transactions are a bit special and in this case we could just allow for some retry logic to allow for the stream to reread a given key and try the stream operation again if a WriteSkewException was thrown.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ISPN-7841) Add stream operations that can operate upon data exclusively
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-7841?page=com.atlassian.jira.plugin.... ]
Work on ISPN-7841 started by William Burns.
-------------------------------------------
> Add stream operations that can operate upon data exclusively
> ------------------------------------------------------------
>
> Key: ISPN-7841
> URL: https://issues.jboss.org/browse/ISPN-7841
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Distributed Execution and Map/Reduce
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.1.0.Final
>
>
> It would be nice to have a way to perform a stream operation where the data performed upon is done in an exclusive way. That is that the data cannot change while it is being processed upon. This is only at the level of per key. For example non tx cache could temporarily lock the entry to prevent a write. The same could occur with pessimistic transactions. Optimistic transactions are a bit special and in this case we could just allow for some retry logic to allow for the stream to reread a given key and try the stream operation again if a WriteSkewException was thrown.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ISPN-7847) Deprecate DeltaAware and ApplyDeltaCommand
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-7847?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-7847:
------------------------------
Affects Version/s: 9.0.0.Final
> Deprecate DeltaAware and ApplyDeltaCommand
> ------------------------------------------
>
> Key: ISPN-7847
> URL: https://issues.jboss.org/browse/ISPN-7847
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Final
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 9.1.0.Final
>
>
> After ISPN-7803 gets in {{DeltaAware}} should be deprecated and any current use replaced with functional commands.
> {{Cache.applyDelta}} will be deprecated, too, implementation replaced by a functional call/{{compute}}.
> {{ApplyDeltaCommand}} should be deprecated, any implementation of {{visitApplyDeltaCommand}} in interceptor stack removed.
> {{DeltaAwareCacheEntry}} and all its uses will be removed immediately.
> {{Flag.DELTA_WRITE}} will be deprecated and all its uses removed.
> We can't really test if the semantics is preserved since it's broken by design, but let's at least make sure that we don't break {{infinispan-lucene-directory}} (which should be migrated later on).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ISPN-7847) Deprecate DeltaAware and ApplyDeltaCommand
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-7847?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-7847:
------------------------------
Component/s: Core
> Deprecate DeltaAware and ApplyDeltaCommand
> ------------------------------------------
>
> Key: ISPN-7847
> URL: https://issues.jboss.org/browse/ISPN-7847
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Final
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 9.1.0.Final
>
>
> After ISPN-7803 gets in {{DeltaAware}} should be deprecated and any current use replaced with functional commands.
> {{Cache.applyDelta}} will be deprecated, too, implementation replaced by a functional call/{{compute}}.
> {{ApplyDeltaCommand}} should be deprecated, any implementation of {{visitApplyDeltaCommand}} in interceptor stack removed.
> {{DeltaAwareCacheEntry}} and all its uses will be removed immediately.
> {{Flag.DELTA_WRITE}} will be deprecated and all its uses removed.
> We can't really test if the semantics is preserved since it's broken by design, but let's at least make sure that we don't break {{infinispan-lucene-directory}} (which should be migrated later on).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ISPN-7847) Deprecate DeltaAware and ApplyDeltaCommand
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-7847?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-7847:
------------------------------
Fix Version/s: 9.1.0.Final
> Deprecate DeltaAware and ApplyDeltaCommand
> ------------------------------------------
>
> Key: ISPN-7847
> URL: https://issues.jboss.org/browse/ISPN-7847
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Final
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 9.1.0.Final
>
>
> After ISPN-7803 gets in {{DeltaAware}} should be deprecated and any current use replaced with functional commands.
> {{Cache.applyDelta}} will be deprecated, too, implementation replaced by a functional call/{{compute}}.
> {{ApplyDeltaCommand}} should be deprecated, any implementation of {{visitApplyDeltaCommand}} in interceptor stack removed.
> {{DeltaAwareCacheEntry}} and all its uses will be removed immediately.
> {{Flag.DELTA_WRITE}} will be deprecated and all its uses removed.
> We can't really test if the semantics is preserved since it's broken by design, but let's at least make sure that we don't break {{infinispan-lucene-directory}} (which should be migrated later on).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ISPN-7847) Deprecate DeltaAware and ApplyDeltaCommand
by Radim Vansa (JIRA)
Radim Vansa created ISPN-7847:
---------------------------------
Summary: Deprecate DeltaAware and ApplyDeltaCommand
Key: ISPN-7847
URL: https://issues.jboss.org/browse/ISPN-7847
Project: Infinispan
Issue Type: Task
Reporter: Radim Vansa
Assignee: Radim Vansa
After ISPN-7803 gets in {{DeltaAware}} should be deprecated and any current use replaced with functional commands.
{{Cache.applyDelta}} will be deprecated, too, implementation replaced by a functional call/{{compute}}.
{{ApplyDeltaCommand}} should be deprecated, any implementation of {{visitApplyDeltaCommand}} in interceptor stack removed.
{{DeltaAwareCacheEntry}} and all its uses will be removed immediately.
{{Flag.DELTA_WRITE}} will be deprecated and all its uses removed.
We can't really test if the semantics is preserved since it's broken by design, but let's at least make sure that we don't break {{infinispan-lucene-directory}} (which should be migrated later on).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months