You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/04/15 19:56:00 UTC
[jira] [Updated] (RATIS-2057) Add back JavaUtils.attemptUntilTrue(..)
[ https://issues.apache.org/jira/browse/RATIS-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze updated RATIS-2057:
------------------------------
Description:
As pointed out by in [this comment|https://github.com/apache/ozone/pull/5288#issuecomment-2049385446],
OM build failed with ratis 3.1.0 because JavaUtils.attemptUntilTrue was removed by RATIS-2011. Let's add back the method although JavaUtils is not yet a public API.
Currently, it is not clear that if the ratis common utils are public API. Filed RATIS-2058.
was:
As pointed out by in [this comment|https://github.com/apache/ozone/pull/5288#issuecomment-2049385446],
OM build failed with ratis 3.1.0 because JavaUtils.attemptUntilTrue was removed by RATIS-2011. Let's add back the method although JavaUtils is not yet a public API.
Currently, it is not clear that if the ratis common utils are public API. Classes (e.g. SizeInBytes, TimeDuration) used in Ratis-server-api have to be public API. Other classes (e.g. JavaUtils, JvmPauseMonitor, DataQueue, ReferenceCountedObject) may not necessarily be. Since Ratis is a library, it is nice to declare these useful classes be public APIs. We should clarify it.
> Add back JavaUtils.attemptUntilTrue(..)
> ---------------------------------------
>
> Key: RATIS-2057
> URL: https://issues.apache.org/jira/browse/RATIS-2057
> Project: Ratis
> Issue Type: Improvement
> Components: common
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> As pointed out by in [this comment|https://github.com/apache/ozone/pull/5288#issuecomment-2049385446],
> OM build failed with ratis 3.1.0 because JavaUtils.attemptUntilTrue was removed by RATIS-2011. Let's add back the method although JavaUtils is not yet a public API.
> Currently, it is not clear that if the ratis common utils are public API. Filed RATIS-2058.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)