Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7ABBF1057A for ; Fri, 13 Dec 2013 21:35:35 +0000 (UTC) Received: (qmail 14884 invoked by uid 500); 13 Dec 2013 21:35:35 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 14844 invoked by uid 500); 13 Dec 2013 21:35:35 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 14836 invoked by uid 99); 13 Dec 2013 21:35:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 21:35:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.215.176] (HELO mail-ea0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 21:35:29 +0000 Received: by mail-ea0-f176.google.com with SMTP id h14so1102941eaj.21 for ; Fri, 13 Dec 2013 13:35:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=aZQ0ilMIxy05XViATKWjnzz3bQCdvO/K61sR7qPBViU=; b=lQ8MNrLWFIjgOwjk3uDQze8Xvd4a9TCrkXX+YxooDQF9eJd7agSAq8mfQ/Oqt+L0XO aRTmEoo8bg1a3ZbgzBkkVemJOUazqIwYyok/4B7IUtz2rAmzH5Dx1R6zlNMqUpW96a3K hK7sDeS8G6nRN9EJlgQvldmCcRx7BKLIHrQvjU7xE4FkqTuir8X9SrMJqhh6jaYzwcOh ALQ0dt7nq2p8J1vvuX8GCY4krPHq+BgJ5YAEs/EtHSzmNf+8W6SWjyIzi6HStixEecdE Da7jFrmraTdTl9NEYmA7g+3u51GP7D66jp6iTv1+IcZKaVc34Jl7ggtS18+urRHL+B54 CPmw== X-Gm-Message-State: ALoCoQmfVqu1DTpuKPbfw/wozaznMXxyli10VTDOr8ewAhyZpHN+aUassuWIeqbIPW+8y/ue4y/P X-Received: by 10.15.110.8 with SMTP id cg8mr5022466eeb.42.1386970508606; Fri, 13 Dec 2013 13:35:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.105.195 with HTTP; Fri, 13 Dec 2013 13:34:47 -0800 (PST) In-Reply-To: References: From: Sean Busbey Date: Fri, 13 Dec 2013 15:34:47 -0600 Message-ID: Subject: Re: Resource leak warnings To: "dev@accumulo apache. org" Content-Type: multipart/alternative; boundary=089e0168156e7acede04ed713c7f X-Virus-Checked: Checked by ClamAV on apache.org --089e0168156e7acede04ed713c7f Content-Type: text/plain; charset=UTF-8 On Fri, Dec 13, 2013 at 3:26 PM, Christopher wrote: > On Fri, Dec 13, 2013 at 3:55 PM, Sean Busbey > wrote: > > I think the answer should be #3 and I am willing to find time to > implement > > it next week. > > That's great. In the meantime, I'm doing #4, so I can clear the noise > and focus on my own tickets. > > Could you just do #4 as a patch on your own local repo? It should be relatively easy to keep rebased given that it's just an interface. > > > Also, you should not be able to use a Connection that is attached to a > > now-closed Instance. I would also consider such use a bug. > > > [snip] > > It's not just the Connection you'd have to enforce not being re-used > after the Instance is closed... it's every object our factory-based > API can give you, all the way down. That's not a small change. > > I agree that fixing things to always expose the bug would be hard. I don't think that changes that it's a bug. -- Sean --089e0168156e7acede04ed713c7f--