Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-842

Race condition when creating namespace in controller

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            MortalHappiness Chi-Sheng Liu
            MortalHappiness Chi-Sheng Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: