craigcondit opened a new pull request, #432:
URL: https://github.com/apache/yunikorn-k8shim/pull/432

   ### What is this PR for?
   Fixes a race condition that occurs when K8s objects are serialized for 
transmission. If the 1version1 component of the `GroupVersionKind` element 
(which is part of every K8s object) is not set, the serializer sets it, causing 
race conditions with concurrent reads. This patch ensures that we defensively 
copy objects that are sent over the wire.
   
   ### 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-1228
   
   ### How should this be tested?
   No functional changes, so all existing unit and e2e tests apply.
   
   ### 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