[JBoss JIRA] (ISPN-3453) Notification in case that entries have been lost
by Radim Vansa (JIRA)
Radim Vansa created ISPN-3453:
---------------------------------
Summary: Notification in case that entries have been lost
Key: ISPN-3453
URL: https://issues.jboss.org/browse/ISPN-3453
Project: Infinispan
Issue Type: Feature Request
Components: State transfer
Reporter: Radim Vansa
Assignee: Mircea Markus
Currently, when some entries are lost due to multiple node crash, the application executing requests against infinispan cache is not notified in any way - it just gets null response for subsequent requests for the lost entries.
IMO there should be at least an option to get exception if the cache gets corrupted in this way, so that the application will not produce further inconsistent data.
--
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
12 years, 2 months
[JBoss JIRA] (ISPN-1239) Graceful shutdown should be supported
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-1239?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-1239:
-----------------------------------------------
Paul Ferraro <paul.ferraro(a)redhat.com> made a comment on [bug 919399|https://bugzilla.redhat.com/show_bug.cgi?id=919399]
Does not appear to be an issue anymore.
> Graceful shutdown should be supported
> -------------------------------------
>
> Key: ISPN-1239
> URL: https://issues.jboss.org/browse/ISPN-1239
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Cache
> Affects Versions: 5.0.0.FINAL
> Reporter: Manik Surtani
> Assignee: Dan Berindei
> Priority: Critical
> Labels: clean_shutdown, rehashing
>
> Currently, killing any node will result in a rehash. A mechanism for clean shutdown should also be supported, so that a rehash is *not* triggered. Useful when the entire cluster is being intentionally brought down.
> Need to think about how we do this; perhaps a LEAVE message that will prevent nodes triggering a rehash when a subsequent view change is detected. This could be done programmatically via a {{clean}} parameter to {{stop()}}, but we should explore alternatives here.
--
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
12 years, 2 months
[JBoss JIRA] (ISPN-3442) Query API DSL returns bad result on calling negated between() with includeUpper/Lower(false)
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-3442?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-3442:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Assignee: Jiří Holuša (was: Sanne Grinovero)
Resolution: Done
Integrated in master. Thanks!
> Query API DSL returns bad result on calling negated between() with includeUpper/Lower(false)
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-3442
> URL: https://issues.jboss.org/browse/ISPN-3442
> Project: Infinispan
> Issue Type: Bug
> Components: Querying
> Reporter: Jiří Holuša
> Assignee: Jiří Holuša
>
> Assuming existing of three users with IDs 1,2 and 3.
> Then this code's result is incorrect.
> {code:border=solid}
> Query q = queryFactory.from(User.class)
> .not().having("id").between(1, 2).includeLower(false)
> .toBuilder().build();
> {code}
> It returns no user whereas it should return two users with IDs 1 and 3. I debugged the org.infinispan.query.dsl.impl.JPAQueryGeneratorVisitor and found the problem in visit(BetweenOperator operator).
> The code correctly changes the </<= and >/>= operators if between operator is negated, but forgets to change "AND" to "OR".
> Thus the generated string query ends up like "id <= 1 AND id > 2" which is of course always empty result.
> The pull request contains fix to this bug and also extended tests for Query API DSL to increase code coverage.
--
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
12 years, 2 months
[JBoss JIRA] (ISPN-3442) Query API DSL returns bad result on calling negated between() with includeUpper/Lower(false)
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-3442?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-3442:
--------------------------------
Fix Version/s: 6.0.0.Beta1
Affects Version/s: 6.0.0.Alpha2
> Query API DSL returns bad result on calling negated between() with includeUpper/Lower(false)
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-3442
> URL: https://issues.jboss.org/browse/ISPN-3442
> Project: Infinispan
> Issue Type: Bug
> Components: Querying
> Affects Versions: 6.0.0.Alpha2
> Reporter: Jiří Holuša
> Assignee: Jiří Holuša
> Fix For: 6.0.0.Beta1
>
>
> Assuming existing of three users with IDs 1,2 and 3.
> Then this code's result is incorrect.
> {code:border=solid}
> Query q = queryFactory.from(User.class)
> .not().having("id").between(1, 2).includeLower(false)
> .toBuilder().build();
> {code}
> It returns no user whereas it should return two users with IDs 1 and 3. I debugged the org.infinispan.query.dsl.impl.JPAQueryGeneratorVisitor and found the problem in visit(BetweenOperator operator).
> The code correctly changes the </<= and >/>= operators if between operator is negated, but forgets to change "AND" to "OR".
> Thus the generated string query ends up like "id <= 1 AND id > 2" which is of course always empty result.
> The pull request contains fix to this bug and also extended tests for Query API DSL to increase code coverage.
--
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
12 years, 2 months
[JBoss JIRA] (ISPN-1965) Some entries not available during view change
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-1965?page=com.atlassian.jira.plugin.... ]
Mircea Markus commented on ISPN-1965:
-------------------------------------
[~mgencur]
There are two types of view changes: nodes leaving/joing a partition, and the cluster splitting in two (or more) sub-partitions (split-brains). NBST only works in the scope of the former.
> Some entries not available during view change
> ---------------------------------------------
>
> Key: ISPN-1965
> URL: https://issues.jboss.org/browse/ISPN-1965
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 5.1.3.FINAL
> Reporter: Michal Linhard
> Assignee: Dan Berindei
>
> In the 4 node, dist mode, num-owners=2, elasticity test
> http://www.qa.jboss.com/~mlinhard/hyperion/run44-elas-dist/
> there is a cca 90 sec period of time where clients get null responses to GET
> requests on entries that should exist in the cache.
> first occurence:
> hyperion1139.log 05:31:01,202 286.409
> last occurence:
> hyperion1135.log 05:32:45,441 390.648
> total occurence count: (in all 19 driver nodes)
> 152241
> (this doesn't mean it happens for 152K keys, because each key is retried after
> erroneous attempt)
> data doesn't seem to be lost, because these errors cease after a while and
> number of entries returns back to normal (see cache_entries.csv)
> this happens approximately in the period between node0001 is killed and cluster
> {node0002 - node0004} is formed (and shortly after).
--
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
12 years, 2 months