Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19334

AURORA_VERSION check on non aurora database logged error every hour

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 8.9.0, 8.19.0, 8.9.11, 8.18.1
    • Database - PostgreSQL
    • None

    Description

      Issue Summary

      Bitbucket is causing errors on the database logging side for AURORA_VERSION() check every hour.

      This does not have an impact on the application but can fill database logging if the database is not Postgres Aurora on AWS.

      Steps to Reproduce

      1. Install Bitbucket 8.9.x or Bitbucket 8.19.x.
      2. Use any database that is not Postgres Aurora. In my case using a PostgreSQL 16 in Docker.
      3. Check logging on the database side.

      Expected Results

      No logging about Aurora

      Actual Results

      2024-03-28 14:17:12.797 UTC [258] ERROR:  function aurora_version() does not exist at character 8
      2024-03-28 14:17:12.797 UTC [258] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
      2024-03-28 14:17:12.797 UTC [258] STATEMENT:  select aurora_version()
      

      Workaround

      None at this time, the error message can be ignored. 
      Suppression can only be done on database side for now.

      Attachments

        Activity

          People

            Unassigned Unassigned
            9c941f86b120 Pablo Silva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: