[JBoss JIRA] (ISPN-9453) Document FORCE_WRITE_LOCK not working in non-tx caches
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-9453?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-9453:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Document FORCE_WRITE_LOCK not working in non-tx caches
> ------------------------------------------------------
>
> Key: ISPN-9453
> URL: https://issues.jboss.org/browse/ISPN-9453
> Project: Infinispan
> Issue Type: Task
> Components: Documentation-Core
> Affects Versions: 9.3.1.Final
> Reporter: Radim Vansa
> Assignee: Don Naro
> Fix For: 9.4.0.Final
>
>
> The user guide mentions {{Flag.FORCE_WRITE_LOCK}} in the context of pessimistic transactions but it does not say what this does in non-transactional caches.
> In non-tx cache it does not work since when on backup owner, the {{get()}} just reads the value. It does not go to primary to lock there. When on non-owner, it reads from some other owner but not necessarily from the primary. The flag does not force the command to acquire locks remotely.
> To put it in other words, it works only scarcely = it does not work.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9500) ConcurrentSmallIntSet.clear() does not always set the size to 0
by Dan Berindei (JIRA)
Dan Berindei created ISPN-9500:
----------------------------------
Summary: ConcurrentSmallIntSet.clear() does not always set the size to 0
Key: ISPN-9500
URL: https://issues.jboss.org/browse/ISPN-9500
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.4.0.Final
{{ConcurrentSmallIntSet.clear()}} processes the array values with a loop that stops when {{value <= 0}}. This breaks when the highest bit is set, leaving the set empty but with {{size() > 0}} and {{isEmpty() == false}}.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9415) Client topology is not updated after cache becomes degraded
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9415?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9415:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Client topology is not updated after cache becomes degraded
> -----------------------------------------------------------
>
> Key: ISPN-9415
> URL: https://issues.jboss.org/browse/ISPN-9415
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.4.0.Beta1, 9.3.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.4.0.Final
>
>
> When a new server is started, or after a merge, the other servers may see it as a an owner in the consistent hash before the other servers see its server address in the address cache ({{___hotRodTopologyCache}}). When a server needs to send a topology update but some of the servers are missing from the address cache, it can't send the topology update, so it tries to send a "partial update" that excludes the missing servers from the segment owners. In order to send the full topology update when the address cache is populated, the partial topology update has to be sent a smaller topology id, and that means it is only send if {{serverTopologyId >= clientTopologyId + 2}}.
> When the cluster splits and the cache becomes degraded, the servers in the other partition are removed from the address cache, but the list of segment owners is not updated, and the topology id is only incremented by 1. The address cache is incomplete, but a partial update cannot be sent, so the client keeps the old topology and keeps trying to connect to the servers in the other partition.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9332) REPL local iteration optimization cannot be used when store has write behind
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-9332?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-9332:
------------------------------------
Isn't the idea that clear will always create a new State?
> REPL local iteration optimization cannot be used when store has write behind
> ----------------------------------------------------------------------------
>
> Key: ISPN-9332
> URL: https://issues.jboss.org/browse/ISPN-9332
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores, Streams
> Affects Versions: 9.3.0.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.4.0.Final
>
>
> When write behind is enabled, the write modification is stored on the primary owner. REPL local iteration can read from non owned data, thus causing an inconsistency.
> Thus distributed streams should always go remote when not all segments are primarily owned on a given node when write behind is enabled.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months
[JBoss JIRA] (ISPN-9499) Json to text conversion ignore charset
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-9499:
---------------------------------------
Summary: Json to text conversion ignore charset
Key: ISPN-9499
URL: https://issues.jboss.org/browse/ISPN-9499
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.4.0.CR2
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 9.4.0.Final
A cache configured with application/json does not convert properly text/plain content in different charsets
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 7 months