You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Uttsel (Jira)" <ji...@apache.org> on 2023/06/15 13:44:00 UTC
[jira] [Created] (IGNITE-19745) Watch listeners don't receive events with revision lower than the applied revision
Sergey Uttsel created IGNITE-19745:
--------------------------------------
Summary: Watch listeners don't receive events with revision lower than the applied revision
Key: IGNITE-19745
URL: https://issues.apache.org/jira/browse/IGNITE-19745
Project: Ignite
Issue Type: Bug
Reporter: Sergey Uttsel
h3. *Motivation*
In https://issues.apache.org/jira/browse/IGNITE-19735 I have tried to extends MetaStorageManager api with
{code:java}
void registerPrefixWatch(ByteArray key, long startRevision, WatchListener lsnr){code}
method for the watch listeners receive the events with revision lower than the applied revision. The KeyValueStorage#watchRange method already has a start revision number so the issue seems easy. But I have written a test and see that the watch listener receives events with revisions which are grater than the applied revision only. See https://github.com/gridgain/apache-ignite-3/tree/ignite-19735_1 and test ItMetaStorageWatchTest#testWatchWithOldStartRevision.
h3. *Definition of Done*
Watch listeners which were registered with a start revision lower that the applied revision must receive all events from a start revision.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)