Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.14.0, 0.14.1
-
None
Description
I notice that in your Java implementation if a connection throws an exception, you will log it or not depending on the type of the exception. Currently, only two kinds of exceptions will be ignored: TIME_OUT and EOF.
However, a common case is when a client exits without closing the connection properly, the server will receive CONNECTION RESET instead of EOF. It is very likely that human users will close client programs directly rather than use some "exit" command.
I understand that it is arguable whether an abnormally-exit client should be reported. But in my opinion, it should at least not generate an ERROR log, as ERROR logs are very sensitive in production systems and may trigger further alerts, while an abnormally-exit client is not actually some error that should be handled by the server maintainers.
Attachments
Attachments
Issue Links
- is related to
-
IOTDB-2467 [THRIFT/CLI]Unnecessary error messages are reported?
- Closed
- links to