Sergey Uttsel created IGNITE-20599:
--------------------------------------

             Summary: Implement a 'not' operation in the meta storage dsl.
                 Key: IGNITE-20599
                 URL: https://issues.apache.org/jira/browse/IGNITE-20599
             Project: Ignite
          Issue Type: Improvement
            Reporter: Sergey Uttsel


*Motivation*

In https://issues.apache.org/jira/browse/IGNITE-20561 we need to create a 
condition for a ms invoke with negation. We could do this two ways:
{code:java}
and(
    notExists(dataNodes(zoneId)),
    notTombstone(dataNodes(zoneId))
){code}
or
{code:java}
not(
    or(
        exists(dataNodes(zoneId)),
        tombstone(dataNodes(zoneId))
    )
){code}
But there are no `notTombstone` or `not` methods in the meta storage dsl.

 

I propose to implement `not` operation because it is more general approach and 
it can be reused with other conditions.

*Definition of done*

`not` operation  is implemented.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to