Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-5221

Redis lock exception log level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • quay
    • False
    • Hide

      None

      Show
      None
    • False

      This is a bug affecting Quay logs.

      The following exception is logged as DEBUG:

      gcworker stdout | 2023-03-16 12:43:26,056 [86] [DEBUG] [util.locking] Could not connect to Redis for lock REPO_GARBAGE_COLLECTION_452: You can't write against a read only replica. 

      The above exception is logged whenever Quay is unable to acquire a lock inside Redis.

      This message should be logged as WARNING or ERROR because if Quay is not able to acquire a lock inside Redis, the garbage collector will not work.
      The exception should be logged with a higher log level.

              marckok Marcus Kok
              rhn-support-ggeraci Giovanni Geraci
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: