Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 BD445DB62 for ; Tue, 13 Nov 2012 16:40:16 +0000 (UTC) Received: (qmail 31712 invoked by uid 500); 13 Nov 2012 16:40:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31554 invoked by uid 500); 13 Nov 2012 16:40:14 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 31137 invoked by uid 99); 13 Nov 2012 16:40:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 16:40:13 +0000 Date: Tue, 13 Nov 2012 16:40:13 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: <704837314.108601.1352824813556.JavaMail.jiratomcat@arcas> In-Reply-To: <403962813.79130.1352269092698.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (SOLR-4043) Add ability to get success/failure responses from Collections API. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-4043: ------------------------------ Issue Type: Improvement (was: Bug) Summary: Add ability to get success/failure responses from Collections API. (was: It isn't right response for create/delete/reload collections ) > Add ability to get success/failure responses from Collections API. > ------------------------------------------------------------------ > > Key: SOLR-4043 > URL: https://issues.apache.org/jira/browse/SOLR-4043 > Project: Solr > Issue Type: Improvement > Components: SolrCloud > Affects Versions: 4.0-ALPHA, 4.0-BETA, 4.0 > Environment: Solr cloud cluster > Reporter: Raintung Li > Assignee: Mark Miller > Fix For: 4.1, 5.0 > > Attachments: patch-4043.txt > > > The create/delete/reload collections are asynchronous process, the client can't get the right response, only make sure the information have been saved into the OverseerCollectionQueue. The client will get the response directly that don't wait the result of behavior(create/delete/reload collection) whatever successful. > The easy solution is client wait until the asynchronous process success, the create/delete/reload collection thread will save the response into OverseerCollectionQueue, then notify client to get the response. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org