[JBoss JIRA] (ISPN-6806) Exception serializing L1InternalCacheEntry during state transfer
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6806?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6806:
-------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4565, https://github.com/infinispan/infinispan/pull/4566
> Exception serializing L1InternalCacheEntry during state transfer
> ----------------------------------------------------------------
>
> Key: ISPN-6806
> URL: https://issues.jboss.org/browse/ISPN-6806
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.2.5.Final, 9.0.0.Alpha2, 8.2.2.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.1.5.Final, 9.0.0.Final, 8.2.5.Final
>
>
> {{L1InternalCacheEntry}} is not serializable, as only entries properly owned by the node are supposed to be sent via state transfer.
> However, when the last owner of a segment leaves the cluster, one of the other nodes becomes the owner of that segment, and the L1 entries it already has suddenly become part of the state it can send to other nodes. It then fails to send its state with this exception:
> {noformat}
> [org.infinispan.marshall.core.VersionAwareMarshaller] (transport-thread--p19-t14) Object is not serializable: java.io.NotSerializableException: org.infinispan.container.entries.L1InternalCacheEntry
> {noformat}
> This can happen quite often if L1 is enabled and {{numOwners = 1}}.
> Unfortunately, the serialization exception isn't propagated, and all the user sees is an initial state transfer timeout exception when trying to start another node later.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-3282) Optimize get() for null values
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-3282?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-3282:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 6.0.0.Final
Resolution: Done
> Optimize get() for null values
> ------------------------------
>
> Key: ISPN-3282
> URL: https://issues.jboss.org/browse/ISPN-3282
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 5.2.6.Final
> Reporter: Erik Salter
> Assignee: Erik Salter
> Fix For: 6.0.0.Final
>
>
> The current implementation of a get() operation for DIST-mode caches will return the first valid response if there is a value present. Null values, though, require all owners to return.
> For certain cache modes, null value handling can be optimized to be encapsulated in a SuccessfulResponse so that the operation can return on the first instance.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7037) Create quickstart that demonstrates library mode node security using callbackhandlers
by Martes Wigglesworth (JIRA)
[ https://issues.jboss.org/browse/ISPN-7037?page=com.atlassian.jira.plugin.... ]
Martes Wigglesworth commented on ISPN-7037:
-------------------------------------------
Here is a brief discussion about this topic, from the infinispan IRC channel, 22-SEP-2016 (EST):
(11:09:36 AM) me@freenode: I know you are beyond busy so I don't really want to bug you about this stuff. However, do you recommend doing a unique quickstart based on the embedded and clustered quickstarts? the secure-embedded-cache quickstart only demonstrates granular security of cache nodes, and not really fully secured infinispan/jdg library mode clustering.
(11:13:52 AM) ttarrant: mwigglessworth, what features would you like to highlight ?
(11:14:30 AM) ttarrant: mwigglessworth, ideally such a quickstart should be able to run both with a SecurityManager and without one (while maintaining the same behaviour(
(11:15:25 AM) me@freenode: I would like to highlight the use of callbackhandlers to demonstrate how an end-user/developer would enable node-authentication, with infinispan/jdg.
(11:16:45 AM) me@freenode: This would be more of a "secure clustering" example, however, since the secure-embedded-cache quickstart is appropriately labeled, and has part of the security enabled, I thought it may make sense to simply fork and update it. (which I have already started to do.0
(11:25:07 AM) jbossbot: new jira [ISPN-7037] Create quickstart that demonstrates library mode node security using callbackhandlers [New (Unresolved) Feature Request, Minor, Demos and Tutorials/Tasks, Unassigned] https://issues.jboss.org/browse/ISPN-7037
(11:34:34 AM) ttarrant: mwigglessworth, I'm not entirely familiar with JDF quickstart policies, but what about, instead of proliferating quickstarts, add to the existing one and enable the node auth via some switch / maven profile
(11:35:13 AM) me@freenode: Sounds good.
> Create quickstart that demonstrates library mode node security using callbackhandlers
> -------------------------------------------------------------------------------------
>
> Key: ISPN-7037
> URL: https://issues.jboss.org/browse/ISPN-7037
> Project: Infinispan
> Issue Type: Feature Request
> Components: Demos and Tutorials, Tasks
> Affects Versions: 6.0.3.Final, 8.2.0.Final, 8.2.1.Final, 8.1.4.Final, 8.2.2.Final, 8.2.3.Final, 8.2.4.Final
> Reporter: Martes Wigglesworth
> Assignee: Martes Wigglesworth
> Priority: Minor
>
> There should be a quickstart that demonstrates callbackhandler usage, while enabling inter-node authentication in library mode. (I have a working build, and am working to migrate this work into a quickstart, such as "secure-embedded-cache" or a uniquely named similar quickstart.)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-6806) Exception serializing L1InternalCacheEntry during state transfer
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6806?page=com.atlassian.jira.plugin.... ]
Work on ISPN-6806 started by Dan Berindei.
------------------------------------------
> Exception serializing L1InternalCacheEntry during state transfer
> ----------------------------------------------------------------
>
> Key: ISPN-6806
> URL: https://issues.jboss.org/browse/ISPN-6806
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.2.5.Final, 9.0.0.Alpha2, 8.2.2.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.1.5.Final, 9.0.0.Final, 8.2.5.Final
>
>
> {{L1InternalCacheEntry}} is not serializable, as only entries properly owned by the node are supposed to be sent via state transfer.
> However, when the last owner of a segment leaves the cluster, one of the other nodes becomes the owner of that segment, and the L1 entries it already has suddenly become part of the state it can send to other nodes. It then fails to send its state with this exception:
> {noformat}
> [org.infinispan.marshall.core.VersionAwareMarshaller] (transport-thread--p19-t14) Object is not serializable: java.io.NotSerializableException: org.infinispan.container.entries.L1InternalCacheEntry
> {noformat}
> This can happen quite often if L1 is enabled and {{numOwners = 1}}.
> Unfortunately, the serialization exception isn't propagated, and all the user sees is an initial state transfer timeout exception when trying to start another node later.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7037) Create quickstart that demonstrates library mode node security using callbackhandlers
by Martes Wigglesworth (JIRA)
[ https://issues.jboss.org/browse/ISPN-7037?page=com.atlassian.jira.plugin.... ]
Martes Wigglesworth reassigned ISPN-7037:
-----------------------------------------
Assignee: Martes Wigglesworth
> Create quickstart that demonstrates library mode node security using callbackhandlers
> -------------------------------------------------------------------------------------
>
> Key: ISPN-7037
> URL: https://issues.jboss.org/browse/ISPN-7037
> Project: Infinispan
> Issue Type: Feature Request
> Components: Demos and Tutorials, Tasks
> Affects Versions: 6.0.3.Final, 8.2.0.Final, 8.2.1.Final, 8.1.4.Final, 8.2.2.Final, 8.2.3.Final, 8.2.4.Final
> Reporter: Martes Wigglesworth
> Assignee: Martes Wigglesworth
> Priority: Minor
>
> There should be a quickstart that demonstrates callbackhandler usage, while enabling inter-node authentication in library mode. (I have a working build, and am working to migrate this work into a quickstart, such as "secure-embedded-cache" or a uniquely named similar quickstart.)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-7037) Create quickstart that demonstrates library mode node security using callbackhandlers
by Martes Wigglesworth (JIRA)
Martes Wigglesworth created ISPN-7037:
-----------------------------------------
Summary: Create quickstart that demonstrates library mode node security using callbackhandlers
Key: ISPN-7037
URL: https://issues.jboss.org/browse/ISPN-7037
Project: Infinispan
Issue Type: Feature Request
Components: Demos and Tutorials, Tasks
Affects Versions: 8.2.4.Final, 8.2.3.Final, 8.2.2.Final, 8.1.4.Final, 8.2.1.Final, 8.2.0.Final, 6.0.3.Final
Reporter: Martes Wigglesworth
Priority: Minor
There should be a quickstart that demonstrates callbackhandler usage, while enabling inter-node authentication in library mode. (I have a working build, and am working to migrate this work into a quickstart, such as "secure-embedded-cache" or a uniquely named similar quickstart.)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months