You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2024/02/12 13:22:00 UTC
[jira] [Updated] (YUNIKORN-2409) History tracking misc code cleanup
[ https://issues.apache.org/jira/browse/YUNIKORN-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Bacsko updated YUNIKORN-2409:
-----------------------------------
Description:
Various parts of the app history tracking can be improved/cleaned up:
# event_streaming.go: removed unused variable "count"
# ring buffer: unnecessary rlock/runlock in unexported method
{{getEventsFromID()}}
# REST handler {{getStream()}} function: use deferred call to {{eventSystem.RemoveStream()}}
# application_events.go: limiter is no longer used
was:
Various parts of the app history tracking can be improved/cleaned up:
# event_streaming.go: removed unused variable "count"
# ring buffer: unnecessary rlock/runlock in unexported method
{{getEventsFromID()}}
# REST handler {{getStream()}} function: use deferred call to close the stream
# StreamingLimiter: logger type is not {{log.SchedHealth}}
# application_events.go: limiter is no longer used
> History tracking misc code cleanup
> ----------------------------------
>
> Key: YUNIKORN-2409
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2409
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
>
> Various parts of the app history tracking can be improved/cleaned up:
> # event_streaming.go: removed unused variable "count"
> # ring buffer: unnecessary rlock/runlock in unexported method
> {{getEventsFromID()}}
> # REST handler {{getStream()}} function: use deferred call to {{eventSystem.RemoveStream()}}
> # application_events.go: limiter is no longer used
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org