From notifications-return-52562-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Thu Oct 10 16:51:13 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 86874180626 for ; Thu, 10 Oct 2019 18:51:13 +0200 (CEST) Received: (qmail 45809 invoked by uid 500); 10 Oct 2019 16:51:13 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 45793 invoked by uid 99); 10 Oct 2019 16:51:12 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Oct 2019 16:51:12 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] [accumulo] milleruntime commented on a change in pull request #1367: Retry new Bulk import on merge. Fixes #471 Message-ID: <157072627268.1123.16816346186502894064.gitbox@gitbox.apache.org> Date: Thu, 10 Oct 2019 16:51:12 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit milleruntime commented on a change in pull request #1367: Retry new Bulk import on merge. Fixes #471 URL: https://github.com/apache/accumulo/pull/1367#discussion_r333628331 ########## File path: core/src/main/java/org/apache/accumulo/core/clientImpl/bulk/BulkImport.java ########## @@ -127,9 +131,13 @@ public void load() SortedMap mappings; TableOperationsImpl tableOps = new TableOperationsImpl(context); + Retry retry = Retry.builder().infiniteRetries().retryAfter(100, MILLISECONDS) + .incrementBy(100, MILLISECONDS).maxWait(2, SECONDS).backOffFactor(1.5) Review comment: Ah I see. Yeah that would be better ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services