You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/02/19 18:04:00 UTC
[jira] [Created] (YUNIKORN-2427) Use r-lock instead of rw-lock in user_tracker.go#getGroupForApp
Chia-Ping Tsai created YUNIKORN-2427:
----------------------------------------
Summary: Use r-lock instead of rw-lock in user_tracker.go#getGroupForApp
Key: YUNIKORN-2427
URL: https://issues.apache.org/jira/browse/YUNIKORN-2427
Project: Apache YuniKorn
Issue Type: Improvement
Reporter: Chia-Ping Tsai
see https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/ugm/user_tracker.go#L103
The function mutate nothing, so it is safe to use r-lock.
--
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