[JBoss JIRA] (ISPN-5368) Out of order events produced when using the MassIndexer with async backend
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-5368?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-5368:
-----------------------------------------------
Gustavo Fernandes <gfernand(a)redhat.com> changed the Status of [bug 1208162|https://bugzilla.redhat.com/show_bug.cgi?id=1208162] from ASSIGNED to MODIFIED
> Out of order events produced when using the MassIndexer with async backend
> --------------------------------------------------------------------------
>
> Key: ISPN-5368
> URL: https://issues.jboss.org/browse/ISPN-5368
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 7.2.0.Beta2, 7.1.1.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 7.2.0.CR1, 7.2.0.Final
>
>
> When using async indexing backend on DIST caches with shared index (InfinispanIndexManager), the MassIndexer fails to re-index all the entries, if it is run from a node that is not
> the indexing master.
> Normally the operation sequence of the MassIndexer in the above configuration, for a two node cluster is:
> * Purge the index
> * Send index job to node A and to node B
> * Flush
> Given the backend is async, all index commands are sent to the master RPC-wise asynchronously, and so a reorder can occur and produce like:
> * Send index job to node A
> * Purge
> * Send index job to node B
> * Flush
> Causing previously re-indexed entries to be wiped
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 11 months
[JBoss JIRA] (ISPN-5388) Optimize redundant predicates (non-indexed query)
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5388?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-5388:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3393
> Optimize redundant predicates (non-indexed query)
> -------------------------------------------------
>
> Key: ISPN-5388
> URL: https://issues.jboss.org/browse/ISPN-5388
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Affects Versions: 7.0.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 7.2.0.CR1, 7.2.0.Final
>
>
> Cases where predicates evaluate to constant values are already detected and handled. But besides such trivial simplifications we should also try to handle more advanced simplification rules like:
> * X || X => X
> * X && X => X
> * !X || !X => !X
> * !X && !X => !X
> * X || !X => TRUE (tautology)
> * X && !X => FALSE (contradiction)
> (where X is a predicate not a general boolean expression)
> Even further simplification could be achieved if we were able to handle the general case where X is a general boolean expression, but we'll not try that yet for the sake of complexity.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 11 months
[JBoss JIRA] (ISPN-5388) Optimize redundant predicates (non-indexed query)
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5388?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-5388:
--------------------------------
Status: Open (was: New)
> Optimize redundant predicates (non-indexed query)
> -------------------------------------------------
>
> Key: ISPN-5388
> URL: https://issues.jboss.org/browse/ISPN-5388
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Affects Versions: 7.0.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 7.2.0.CR1, 7.2.0.Final
>
>
> Cases where predicates evaluate to constant values are already detected and handled. But besides such trivial simplifications we should also try to handle more advanced simplification rules like:
> * X || X => X
> * X && X => X
> * !X || !X => !X
> * !X && !X => !X
> * X || !X => TRUE (tautology)
> * X && !X => FALSE (contradiction)
> (where X is a predicate not a general boolean expression)
> Even further simplification could be achieved if we were able to handle the general case where X is a general boolean expression, but we'll not try that yet for the sake of complexity.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 11 months
[JBoss JIRA] (ISPN-5388) Optimize redundant predicates (non-indexed query)
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5388?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-5388:
--------------------------------
Description:
Cases where predicates evaluate to constant values are already detected and handled. But besides such trivial simplifications we should also try to handle more advanced simplification rules like:
* X || X => X
* X && X => X
* !X || !X => !X
* !X && !X => !X
* X || !X => TRUE (tautology)
* X && !X => FALSE (contradiction)
(where X is a predicate not a general boolean expression)
Even further simplification could be achieved if we were able to handle the general case where X is a general boolean expression, but we'll not try that yet for the sake of complexity.
was:
Cases where predicates evaluate to constant values are already detected and handled. But besides such trivial simplifications we should also try to handle more advanced simplification rules like:
* X || X => X
* X && X => X
* !X || !X => !X
* !X && !X => !X
* X || !X => TRUE
* X && !X => FALSE
(where X is a predicate not a general boolean expression)
Even further simplification could be achieved if we were able to handle the general case where X is a general boolean expression, but we'll not try that yet for the sake of complexity.
> Optimize redundant predicates (non-indexed query)
> -------------------------------------------------
>
> Key: ISPN-5388
> URL: https://issues.jboss.org/browse/ISPN-5388
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Affects Versions: 7.0.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 7.2.0.CR1, 7.2.0.Final
>
>
> Cases where predicates evaluate to constant values are already detected and handled. But besides such trivial simplifications we should also try to handle more advanced simplification rules like:
> * X || X => X
> * X && X => X
> * !X || !X => !X
> * !X && !X => !X
> * X || !X => TRUE (tautology)
> * X && !X => FALSE (contradiction)
> (where X is a predicate not a general boolean expression)
> Even further simplification could be achieved if we were able to handle the general case where X is a general boolean expression, but we'll not try that yet for the sake of complexity.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 11 months
[JBoss JIRA] (ISPN-5388) Optimize redundant predicates (non-indexed query)
by Adrian Nistor (JIRA)
Adrian Nistor created ISPN-5388:
-----------------------------------
Summary: Optimize redundant predicates (non-indexed query)
Key: ISPN-5388
URL: https://issues.jboss.org/browse/ISPN-5388
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying
Affects Versions: 7.0.0.Final
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 7.2.0.CR1, 7.2.0.Final
Cases where predicates evaluate to constant values are already detected and handled. But besides such trivial simplifications we should also try to handle more advanced simplification rules like:
* X || X => X
* X && X => X
* !X || !X => !X
* !X && !X => !X
* X || !X => TRUE
* X && !X => FALSE
(where X is a predicate not a general boolean expression)
Even further simplification could be achieved if we were able to handle the general case where X is a general boolean expression, but we'll not try that yet for the sake of complexity.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 11 months