Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6DFA0200C30 for ; Tue, 7 Mar 2017 22:12:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6C818160B68; Tue, 7 Mar 2017 21:12:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ACAA1160B65 for ; Tue, 7 Mar 2017 22:12:38 +0100 (CET) Received: (qmail 63732 invoked by uid 500); 7 Mar 2017 21:12:37 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 63721 invoked by uid 99); 7 Mar 2017 21:12:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2017 21:12:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 61BF8DFD9E; Tue, 7 Mar 2017 21:12:37 +0000 (UTC) From: joshelser To: dev@zookeeper.apache.org Reply-To: dev@zookeeper.apache.org References: In-Reply-To: Subject: [GitHub] zookeeper issue #186: ZOOKEEPER-2711 Avoid synchronization on NettyServerCnx... Content-Type: text/plain Message-Id: <20170307211237.61BF8DFD9E@git1-us-west.apache.org> Date: Tue, 7 Mar 2017 21:12:37 +0000 (UTC) archived-at: Tue, 07 Mar 2017 21:12:39 -0000 Github user joshelser commented on the issue: https://github.com/apache/zookeeper/pull/186 I need to see if I can come up with a unit test to catch this case, but I'm not sure how useful one would be (I think anything I come up with would be a bit contrived..) I was able to test this locally by running 7 iterations of: ```bash while true; do echo stat | nc localhost 2181 >/dev/null 2>&1; echo -n .; sleep 1; done ``` while generating some extra load (heavy java tests from another ASF project, *winks*) on my local machine. This ran for ~10minutes without error. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---