[ https://issues.apache.org/jira/browse/YUNIKORN-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated YUNIKORN-2445: ------------------------------------- Labels: pull-request-available (was: ) > Add comments around locking setup in tracker code > ------------------------------------------------- > > Key: YUNIKORN-2445 > URL: https://issues.apache.org/jira/browse/YUNIKORN-2445 > Project: Apache YuniKorn > Issue Type: Task > Components: core - scheduler > Reporter: Wilfred Spiegelenburg > Assignee: Yu-Lin Chen > Priority: Major > Labels: pull-request-available > > The QueueTracker code is lock free and should stay lock free. Each queue > tracker object is always only linked to one UserTracker or GroupTracker. > Locking is thus handled from those objects. > This does mean that calls to the user or group trackers that can modify the > underlying queue tracker structure must take a write lock. > This specifically impacts the {{canRunApp()}} and {{headroom()}} calls as > they add new entries in the queue hierarchy. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org