Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7227

first_traffic and first_daily_traffic event not updated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.11.0 GA
    • 2.8 GA, 2.9 GA, 2.10 GA
    • Backend
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Undefined
    • Workaround Exists
    • Hide

      As a workaround it is possible to remove the events/ping key from backend redis:

      oc rsh dc/backend-redis
      sh-4.2$ redis-cli del events/ping
      (integer) 1
      sh-4.2$ exit
      
      Show
      As a workaround it is possible to remove the events/ping key from backend redis: oc rsh dc/backend-redis sh-4.2$ redis-cli del events/ping (integer) 1 sh-4.2$ exit

    Description

      The application object's field first_daily_traffic_at and first_traffic are not updated.
      events/ping in backend-redis has TTL -1 and its value is greater than 1.

      In an edge case, the code could fail to set an expire to events/ping key, causing backend-redis stop pinging system-app to fetch backend events.

      Diagnostic Steps

      oc rsh dc/backend-redis
      sh-4.2$ redis-cli
      127.0.0.1:6379> ttl events/ping
      (integer) -1
      127.0.0.1:6379>get events/ping
      (integer) <a number greater than 1>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-cpalmier Carlo Palmieri (Inactive)
              Carlo Palmieri Carlo Palmieri (Inactive)
              David Ortiz David Ortiz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: