[ 
https://issues.apache.org/jira/browse/IGNITE-26971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Zlenko resolved IGNITE-26971.
----------------------------------
    Resolution: Duplicate

> Add async API to await low watermark propagation in tests
> ---------------------------------------------------------
>
>                 Key: IGNITE-26971
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26971
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Zlenko
>            Priority: Major
>              Labels: ignite-3
>
> h2. Problem
> Tests in multi-node setups cannot wait for low watermark propagation to 
> complete across all nodes, causing race conditions and flaky tests.
> h2. Solution
> Expose an async API to allow tests to wait for propagation completion.
> *Option 1:* Add new test method
> {{CompletableFuture<Void> updateLowWatermarkAsync(long watermark)}}
> *Option 2:* Make existing method return future
> {{CompletableFuture<Void> updateLowWatermark(long watermark)}}
> h2. Acceptance Criteria
>  * Returned future completes when low watermark has propagated to all nodes
>  * Tests can reliably wait for propagation without arbitrary delays



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

Reply via email to