morningman opened a new pull request, #21520:
URL: https://github.com/apache/doris/pull/21520

   ## Proposed changes
   
   If this is no `info file` in repository, the mysql connection may lost when 
user executing `show snapshot on repo`,
   ```
   2023-07-05 09:22:48,689 WARN (mysql-nio-pool-0|199) 
[ReadListener.lambda$handleEvent$0():60] Exception happened in one 
session(org.apache.doris.qe.ConnectContext@730797c1).
   java.io.IOException: Error happened when receiving packet.
       at 
org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:691) 
~[doris-fe.jar:1.2-SNAPSHOT]
       at 
org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) 
~[doris-fe.jar:1.2-SNAPSHOT]
       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[?:1.8.0_322]
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[?:1.8.0_322]
       at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_322]
   ```
   
   This is because there are some field missing in returned result set.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to