[JBoss JIRA] (ISPN-2189) Compact buffers of ExpandableMarshalledValueByteStream to save memory on long term storage
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-2189:
-------------------------------------
Summary: Compact buffers of ExpandableMarshalledValueByteStream to save memory on long term storage
Key: ISPN-2189
URL: https://issues.jboss.org/browse/ISPN-2189
Project: Infinispan
Issue Type: Enhancement
Affects Versions: 5.1.5.FINAL
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Fix For: 5.2.0.ALPHA3
Buffers allocated by org.infinispan.io.ExpandableMarshalledValueByteStream grow by approximation, but in
{code}org.infinispan.marshall.MarshalledValue.serialize0(){code}
we know when the buffer won't grow any longer as it's going to be treated as effectively immutable. At this point we should shrink the buffer to potentially save memory on each entry in the datagrid.
This likely needs to be optional as depending on configuration the buffer might be used for a temporary operation, in which case the effort of resizing should be avoided.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (ISPN-2426) putForExternalRead() does not unlock if entry already exists
by Manik Surtani (JIRA)
[ https://issues.jboss.org/browse/ISPN-2426?page=com.atlassian.jira.plugin.... ]
Manik Surtani updated ISPN-2426:
--------------------------------
Description:
When performing a {{putForExternalRead()}} for an existing entry, the entry factory fails to provide the InvocationContext with the key for the entry. This makes it impossible for the locking interceptors to release the lock.
Note that this is only a problem when used in a non-transactional context. When transactions are used, no stale locks are observed.
was:When performing a {{putForExternalRead()}} for an existing entry, the entry factory fails to provide the InvocationContext with the key for the entry. This makes it impossible for the locking interceptors to release the lock.
> putForExternalRead() does not unlock if entry already exists
> ------------------------------------------------------------
>
> Key: ISPN-2426
> URL: https://issues.jboss.org/browse/ISPN-2426
> Project: Infinispan
> Issue Type: Patch
> Affects Versions: 5.1.6.FINAL
> Reporter: Jan Boehm
> Assignee: Manik Surtani
> Priority: Blocker
> Fix For: 5.2.0.CR1, 5.2.0.Final, 5.1.9.Final
>
> Attachments: ISPN-2426-Set-looked-up-key-in-InvocationContext-on-.patch
>
>
> When performing a {{putForExternalRead()}} for an existing entry, the entry factory fails to provide the InvocationContext with the key for the entry. This makes it impossible for the locking interceptors to release the lock.
> Note that this is only a problem when used in a non-transactional context. When transactions are used, no stale locks are observed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (ISPN-2353) Allow non-emitting Mapper
by Vladimir Blagojevic (JIRA)
Vladimir Blagojevic created ISPN-2353:
-----------------------------------------
Summary: Allow non-emitting Mapper
Key: ISPN-2353
URL: https://issues.jboss.org/browse/ISPN-2353
Project: Infinispan
Issue Type: Bug
Components: Distributed Execution and Map/Reduce
Affects Versions: 5.2.0.Alpha4
Reporter: Vladimir Blagojevic
Assignee: Vladimir Blagojevic
Fix For: 5.2.0.Beta1, 5.2.0.Final
In some cases Mapper being executed on remote nodes might not produce any intermediate KOut/VOut pairs and we should allow/account for that possibility. Currently such tasks fail with NPE.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] Created: (ISPN-761) Cache.keySet(), entrySet(), values(), size() ignore contents of cache loader
by Paul Ferraro (JIRA)
Cache.keySet(),entrySet(),values(),size() ignore contents of cache loader
-------------------------------------------------------------------------
Key: ISPN-761
URL: https://jira.jboss.org/browse/ISPN-761
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 4.2.0.BETA1
Reporter: Paul Ferraro
Assignee: Manik Surtani
Passivated cache entries are not represented in values returned by the keySet(), entrySet(), values(), and size() Cache methods. This results in inconsistent behavior, since it is possible that a given cache key may not be contained in keySet() even though Cache.get(...) would return a non-null value if the entry was previously passivated.
I think CacheLoaderInterceptor needs to implement the following methods:
Object visitSizeCommand(InvocationContext ctx, SizeCommand command) throws Throwable
Object visitValuesCommand(InvocationContext ctx, ValuesCommand command) throws Throwable
Object visitEntrySetCommand(InvocationContext ctx, EntrySetCommand command) throws Throwable
Object visitKeySetCommand(InvocationContext ctx, KeySetCommand command) throws Throwable
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (ISPN-2426) putForExternalRead() does not unlock if entry already exists
by Manik Surtani (JIRA)
[ https://issues.jboss.org/browse/ISPN-2426?page=com.atlassian.jira.plugin.... ]
Manik Surtani updated ISPN-2426:
--------------------------------
Summary: putForExternalRead() does not unlock if entry already exists (was: putIfAbsent with PUT_FOR_EXTERNAL_READ does not unlock if entry already exists)
> putForExternalRead() does not unlock if entry already exists
> ------------------------------------------------------------
>
> Key: ISPN-2426
> URL: https://issues.jboss.org/browse/ISPN-2426
> Project: Infinispan
> Issue Type: Patch
> Affects Versions: 5.1.6.FINAL
> Reporter: Jan Boehm
> Assignee: Manik Surtani
> Fix For: 5.2.0.CR1, 5.2.0.Final
>
> Attachments: ISPN-2426-Set-looked-up-key-in-InvocationContext-on-.patch
>
>
> When performing a putIfAbsent for an existing entry with the flag PUT_FOR_EXTERNAL_READ set, the entry factory fails to provide the InvocationContext with the key for the entry. This makes it impossible for the locking interceptors to release the lock.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months