You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Chi-Sheng Liu (Jira)" <ji...@apache.org> on 2021/05/31 10:36:00 UTC

[jira] [Created] (SUBMARINE-842) Race condition when creating namespace in controller

Chi-Sheng Liu created SUBMARINE-842:
---------------------------------------

             Summary: Race condition when creating namespace in controller
                 Key: SUBMARINE-842
                 URL: https://issues.apache.org/jira/browse/SUBMARINE-842
             Project: Apache Submarine
          Issue Type: Bug
          Components: Cloud-native Deployment
            Reporter: Chi-Sheng Liu
            Assignee: Chi-Sheng Liu


In the syncHandler function in submarine-cloud-v2/controller.go, we will create a namespace "submarine-user-test" and then create other resources on that namespace. However we do not wait until the namespace is created, so sometimes the operator will find the namespace does not exist and will crash.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org