Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-2077

concurrency issue when the agent pods are restarted

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • NetObserv - Sprint 266
    • None
    • None
    • None

      Description of problem:

      https://github.com/netobserv/netobserv-ebpf-agent/issues/524 

      fatal error: concurrent map read and map write
      
      goroutine 119 [running]:
      github.com/netobserv/netobserv-ebpf-agent/pkg/ifaces.(*Watcher).sendUpdates(0xc000b6bc00, {0x2c94800, 0xc003eec960}, {0xc003f3c1e0, 0x24}, 0xc000bf1730)
      	/opt/app-root/pkg/ifaces/watcher.go:70 +0xbf
      created by github.com/netobserv/netobserv-ebpf-agent/pkg/ifaces.(*Watcher).Subscribe in goroutine 1
      	/opt/app-root/pkg/ifaces/watcher.go:58 +0x15b
      Create sub-issue

      Steps to Reproduce:

      1. Discovered in a long running reliability environment.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

              mmahmoud@redhat.com Mohamed Mahmoud (Inactive)
              rhn-support-memodi Mehul Modi
              None
              None
              None
              Mehul Modi Mehul Modi
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: