Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15978

Better debugging of database-level connections

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Core VCS
    • Tags:
    • Upgrade notes:
      Hide

      Property "org.nuxeo.vcs.setClientInfo" can now be set to "true" to pass an "Application Name" to the database for each connection.

      The application name is "nuxeo" when idle, or "nuxeo m=123" when in use, where 123 is the mapper instance id (also visible as (123) SQL: ... in TRACE logs).

      Show
      Property "org.nuxeo.vcs.setClientInfo" can now be set to "true" to pass an "Application Name" to the database for each connection. The application name is "nuxeo" when idle, or "nuxeo m=123" when in use, where 123 is the mapper instance id (also visible as (123) SQL: ... in TRACE logs).
    • Sprint:
      Sprint RepoTeam 7.1-1

      Description

      A SQL database connection can pass an "ApplicationName" that is visible when debugging the active connections server-side.

      For instance on PostgreSQL, you can see it in the application_name column of pg_stat_activity.

      -> Use this to pass info about what nuxeo mapper is using the connection

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.