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 03B7D200CAA for ; Sat, 3 Jun 2017 02:11:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 02114160BDD; Sat, 3 Jun 2017 00:11:10 +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 47EAD160BD2 for ; Sat, 3 Jun 2017 02:11:09 +0200 (CEST) Received: (qmail 49458 invoked by uid 500); 3 Jun 2017 00:11:08 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 49445 invoked by uid 99); 3 Jun 2017 00:11:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jun 2017 00:11:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 14D73180311 for ; Sat, 3 Jun 2017 00:11:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.702 X-Spam-Level: X-Spam-Status: No, score=-98.702 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ad67kk2NyzfJ for ; Sat, 3 Jun 2017 00:11:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2E9D65FD6F for ; Sat, 3 Jun 2017 00:11:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 92731E0AE8 for ; Sat, 3 Jun 2017 00:11:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5B37321B58 for ; Sat, 3 Jun 2017 00:11:05 +0000 (UTC) Date: Sat, 3 Jun 2017 00:11:05 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-17537) Remove Queue#isAvailable() since we have waits/wakes after HBASE-17067 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 03 Jun 2017 00:11:10 -0000 [ https://issues.apache.org/jira/browse/HBASE-17537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-17537: -------------------------- Attachment: HBASE-17537.master.002.patch > Remove Queue#isAvailable() since we have waits/wakes after HBASE-17067 > ---------------------------------------------------------------------- > > Key: HBASE-17537 > URL: https://issues.apache.org/jira/browse/HBASE-17537 > Project: HBase > Issue Type: Sub-task > Components: master, proc-v2 > Reporter: Appy > Assignee: Appy > Priority: Minor > Fix For: 2.0.0 > > Attachments: HBASE-17537.master.001.patch, HBASE-17537.master.002.patch > > > Earlier, run-queues could have empty queues or queues for which exclusive locks are already taken. Thus poll() on table/server run-queue might have returned a Queue which didn't have any valid procs to run. > With wait/wake on exclusive locks doing {removeFrom|addTo}RunQueue and poll removing queues when last element is removed, i think we can remove this function now. > (am finding these things when working on a larger patch, but there are changes like this which seem too critical to mess up, so am creating smaller focused patches for them). -- This message was sent by Atlassian JIRA (v6.3.15#6346)