[JBoss JIRA] (ISPN-4693) Locks acquired before a partition will never be released
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4693?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-4693:
-----------------------------------------------
Matej Čimbora <mcimbora(a)redhat.com> changed the Status of [bug 1155692|https://bugzilla.redhat.com/show_bug.cgi?id=1155692] from ON_QA to VERIFIED
> Locks acquired before a partition will never be released
> --------------------------------------------------------
>
> Key: ISPN-4693
> URL: https://issues.jboss.org/browse/ISPN-4693
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 6.0.2.Final
> Reporter: Erik Salter
> Assignee: Dan Berindei
> Fix For: 7.0.0.CR2, 7.0.0.Final
>
>
> Consider the following case:
> 1. A prepares a transaction for key K on nodes B and C.
> 2. The primary owner B acquires and registers this lock.
> 3. The cluster partitions and A,C remain in partition one, and B in a separate partition.
> 4. The transaction rolls back. However, since B left the cluster, the rollback will not be sent to B.
> 5. B rejoins the cluster. It still has a lock acquired for key K.
> This can lead to a lock being acquired indefinitely.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ISPN-5902) Stream iterator/forEach should use configured Equivalence
by William Burns (JIRA)
William Burns created ISPN-5902:
-----------------------------------
Summary: Stream iterator/forEach should use configured Equivalence
Key: ISPN-5902
URL: https://issues.jboss.org/browse/ISPN-5902
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: William Burns
Assignee: William Burns
The stream methods to use iterator and forEach do not use equivalence when storing their keys. This should be done to make sure entries are not repeated.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ISPN-5791) Query DSL : Projecting a Date field multiple times will render it as string
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-5791?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5791:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Query DSL : Projecting a Date field multiple times will render it as string
> ---------------------------------------------------------------------------
>
> Key: ISPN-5791
> URL: https://issues.jboss.org/browse/ISPN-5791
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 8.0.1.Final, 8.1.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Beta1, 8.0.2.Final
>
>
> Adding this in QueryDslConditionsTest fails. The second date projection is a String instead of being a Date. First projection is OK. The problem is gone if cache is not indexed, which makes me think it is more of a problem in CacheQuery.
> {code}
> public void testDuplicateDateProjection() throws Exception {
> QueryFactory qf = getQueryFactory();
> Query q = qf.from(getModelFactory().getTransactionImplClass())
> .select("id", "date", "date")
> .having("description").eq("Hotel")
> .toBuilder().build();
> List<Object[]> list = q.list();
> assertEquals(1, list.size());
> assertEquals(1, list.size());
> assertEquals(3, list.get(0).length);
> assertEquals(3, list.get(0)[0]);
> assertEquals(makeDate("2013-02-27"), list.get(0)[1]);
> assertEquals(makeDate("2013-02-27"), list.get(0)[2]);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ISPN-5873) Allow non-stored fields to be projected in DSL based queries
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-5873?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5873:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Allow non-stored fields to be projected in DSL based queries
> ------------------------------------------------------------
>
> Key: ISPN-5873
> URL: https://issues.jboss.org/browse/ISPN-5873
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Beta1, 8.0.2.Final
>
>
> Currently if a field is indexed but it is not stored it cannot be used in a projection but if the field is not indexed it can be used in projections due to the way hybrid queries work. This uneven handling should disappear. All fields should be allowed for projections and if they are stored we should take advantage of that.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ISPN-5882) XSite replication - take-offline.after-failures property is ignored
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-5882?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5882:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> XSite replication - take-offline.after-failures property is ignored
> -------------------------------------------------------------------
>
> Key: ISPN-5882
> URL: https://issues.jboss.org/browse/ISPN-5882
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Reporter: Matej Čimbora
> Assignee: Pedro Ruivo
> Fix For: 8.1.0.Beta1, 8.1.0.Final
>
>
> Let's say I use the following backup settings and start the server in site LON:
> <backup site="BRN" strategy="SYNC">
> <take-offline after-failures="5"/>
> </backup>
> The following code snipped should cause BRN site to go offline after 5 failures, however the site is still remains online and tries to back up the data to BRN.
> RemoteCacheManager remoteCacheManager = new RemoteCacheManager();
> RemoteCache<Object, Object> cache = remoteCacheManager.getCache();
> for (int i = 0; i < 10; i++) {
> cache.put(i, i);
> }
> Server-side error message example:
> 16:05:19,121 ERROR [org.jgroups.protocols.relay.RELAY2] (HotRodServerWorker-5-2) localhost: no route to BRN: dropping message
> 16:05:29,121 WARN [org.infinispan.xsite.BackupSenderImpl] (HotRodServerWorker-5-2) ISPN000202: Problems backing up data for cache default to site BRN: org.infinispan.util.concurrent.TimeoutException: Timed out after 10 seconds waiting for a response from BRN (sync, timeout=10000)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month