craigcondit opened a new pull request #399:
URL: https://github.com/apache/yunikorn-core/pull/399


   ### What is this PR for?
   Fixes inconsistent locking in application.go:
   
   * Change QueuePath to queuePath and use accessor methods from external code
   * Remove QueuePath from String() as it is accessed from both locked and 
unlocked contexts
   * Introduce RejectApplication() and FailApplication() methods to handle 
unlocked usage of HandleApplicationWithEventInfo()
   * Update timeoutStateTimer() to acquire lock as it is run from a new 
goroutine
   * Ensure getOutstandingRequests() calls sortRequests() under write lock
   
   ### What type of PR is it?
   * [x] - Bug Fix
   * [ ] - Improvement
   * [ ] - Feature
   * [ ] - Documentation
   * [ ] - Hot Fix
   * [ ] - Refactoring
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/YUNIKORN-1164
   
   ### How should this be tested?
   Core unit tests as well as k8shim unit and e2e tests compiled against this 
version.
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * [ ] - The licenses files need update.
   * [ ] - There is breaking changes for older versions.
   * [ ] - It needs documentation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to