Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-54543

Data race in Server.status access causes instability in cloud-event-proxy

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • CNF RAN Sprint 269
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          The cloud-event-proxy component encounters a data race condition due to unsynchronized access to the status field in the Server struct.
      The issue occurs when:
      
      
      The status is written by a goroutine inside wait.Until() (when starting or restarting the HTTP server).
      
      
      The status is concurrently read by the Ready() method to check the server's readiness.
      
      this results in a data race, which can lead to unpredictable behavior or crashes in production when multiple threads access 

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

      required testing with regression  to pass 

      Actual results:

          

      Expected results:

          

      Additional info:

          

              aputtur@redhat.com Aneesh Puttur
              aputtur@redhat.com Aneesh Puttur
              None
              Aneesh Puttur
              Bonnie Block Bonnie Block
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: