You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey N. Gura (Jira)" <ji...@apache.org> on 2021/07/19 15:57:00 UTC
[jira] [Commented] (IGNITE-15120) Condition isTombstone() is
required
[ https://issues.apache.org/jira/browse/IGNITE-15120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383416#comment-17383416 ]
Andrey N. Gura commented on IGNITE-15120:
-----------------------------------------
Added new method {{Conditions.tombstone(ByteArray key)}}. Please, review.
> Condition isTombstone() is required
> -----------------------------------
>
> Key: IGNITE-15120
> URL: https://issues.apache.org/jira/browse/IGNITE-15120
> Project: Ignite
> Issue Type: Bug
> Reporter: Alexander Lapin
> Assignee: Andrey N. Gura
> Priority: Major
> Labels: iep-61, ignite-3
> Fix For: 3.0.0-alpha3
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently
> {code:java}
> Conditions.notExists(key){code}
> will both return true if there were no such key or if it was removed. New condition that will allow to detect whether a key was removed or not created is required. It might look like
> {code:java}
> Conditions.isTombstone(key){code}
> or similar.
>
> Seems that it'll be also helpful if org.apache.ignite.internal.metastorage.client.Conditions#notExists
> javadoc' will be more specific about tombstone case.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)