You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Zita Dombi (Jira)" <ji...@apache.org> on 2022/09/22 17:05:00 UTC

[jira] [Commented] (HDDS-4678) Add an option to limit the number of OM events Recon retrieves in each batch

    [ https://issues.apache.org/jira/browse/HDDS-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608357#comment-17608357 ] 

Zita Dombi commented on HDDS-4678:
----------------------------------

Based on HDDS-6147 and HDDS-6215 this is already added to Recon. Can we resolve it? [~smeng]

> Add an option to limit the number of OM events Recon retrieves in each batch
> ----------------------------------------------------------------------------
>
>                 Key: HDDS-4678
>                 URL: https://issues.apache.org/jira/browse/HDDS-4678
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Recon
>    Affects Versions: 1.0.0
>            Reporter: Siyao Meng
>            Priority: Major
>
> Original comment: https://github.com/apache/ozone/pull/1680#pullrequestreview-549375494
> h2. Summary
> Currently we don't have explicit control over how much events Recon will receive on each batch of events from OM. This can lead to Recon OOM like in HDDS-4570 when the max heap is too small and/or OM is too busy and/or [sync interval|https://github.com/apache/ozone/blob/efaa4fcb46d70cbce40451402bfb56dcc098802a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java#L219-L230] is too long.
> A good start point for looking into this might be at [{{OzoneManagerServiceProviderImpl#syncDataFromOM}}|https://github.com/apache/ozone/blob/efaa4fcb46d70cbce40451402bfb56dcc098802a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java#L402].



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org