You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/11/16 09:25:18 UTC

[GitHub] [skywalking] zhyhzhylove opened a new issue #8137: java agent ConnectionCache maybe get error connectionInfo [Bug]

zhyhzhylove opened a new issue #8137:
URL: https://github.com/apache/skywalking/issues/8137


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Apache SkyWalking Component
   
   Java Agent (apache/skywalking-java)
   
   ### What happened
   
    ConnectionCreate5xInterceptor:         
   
   ConnectionInfo connectionInfo = ConnectionCache.get(allArguments[0].toString(), allArguments[1].toString());
   
   allArguments[0].toString():db host
   allArguments[1].toString(): db port
   
   this code will get wrong info when two instances on one db。
   
   
   ### What you expected to happen
   
   db.instance: db name is wrong
   
   ### How to reproduce
   
   ConnectionCache map key = host + port + dbname
   
   ### Anything else
   
   nothing
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] zhyhzhylove commented on issue #8137: java agent ConnectionCache maybe get error connectionInfo [Bug]

Posted by GitBox <gi...@apache.org>.
zhyhzhylove commented on issue #8137:
URL: https://github.com/apache/skywalking/issues/8137#issuecomment-970081054


   skywalking agent v8.4.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #8137: java agent ConnectionCache maybe get error connectionInfo [Bug]

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #8137:
URL: https://github.com/apache/skywalking/issues/8137


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng edited a comment on issue #8137: java agent ConnectionCache maybe get error connectionInfo [Bug]

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on issue #8137:
URL: https://github.com/apache/skywalking/issues/8137#issuecomment-970185405


   And this gets disussed before, we treat IP:port as one database instance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #8137: java agent ConnectionCache maybe get error connectionInfo [Bug]

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #8137:
URL: https://github.com/apache/skywalking/issues/8137#issuecomment-970185405


   Ans this gets disussed before, we treat IP:port as one database instance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #8137: java agent ConnectionCache maybe get error connectionInfo [Bug]

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #8137:
URL: https://github.com/apache/skywalking/issues/8137#issuecomment-970184465


   We only accept bug report for latest release.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org