zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfenes <...@git.apache.org>
Subject [GitHub] zookeeper pull request #355: ZOOKEEPER-2809: Unnecessary stack-trace in serv...
Date Wed, 06 Sep 2017 14:33:32 GMT
GitHub user mfenes reopened a pull request:


    ZOOKEEPER-2809: Unnecessary stack-trace in server when the client dis…

    Unnecessary stack-trace in server when the client disconnects unexpectedly.
    Backport from master, branch-3.5 to branch-3.4. Removes unnecessary stack traces from
the catch blocks of method doIO in NIOServerCnxn. For EndOfStreamException stack trace is
replaced with logging only the message and also contains the removal of stack traces for exceptions
CancelledKeyException and IOException as per commit 6206b495 referenced in the ticket.
    This change is necessary as there are projects which consider all stack traces as bugs.

    For CancelledKeyException and IOException developers are still able to see stack traces
at log level Debug.
    This change is in sync with master and branch-3.5.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mfenes/zookeeper ZOOKEEPER-2809

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #355



View raw message