Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-293

Correlate client connection with embedded connection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.1.1.0
    • None
    • Network Server
    • None
    • N/A
    • Low

    Description

      There should be a way for someone to correlate a given embedded connection with its matching network client connection, if such a client connection exists.

      See

      http://article.gmane.org/gmane.comp.apache.db.derby.devel/3748

      and

      http://article.gmane.org/gmane.comp.apache.db.derby.devel/3942

      for some background info on how to get useful information out of the DRDA protocol
      stream to accomplish this.

      This could be done either by modifying the toString() method of an embedded
      connection to show its associated network client connection information or (my
      preference) include this information in the proposed Connection VTI (see DERBY-292). I am worried that if we use toString() for this, the output will be overly long and complicated; also, over a period of time the same embedded connection may be associated with multiple client connections, resulting in a changing toString() value for the embedded connection. This seems problematic if we are intending toString() to uniquely identify a connection for the lifetime of the connection – this would be a good goal to have as it would enable us to do some useful debugging using the VTIs.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davidvc David Van Couvering
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: