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 0507C200B88 for ; Thu, 22 Sep 2016 21:30:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 039E8160AAD; Thu, 22 Sep 2016 19:30:26 +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 48D17160AA9 for ; Thu, 22 Sep 2016 21:30:25 +0200 (CEST) Received: (qmail 1533 invoked by uid 500); 22 Sep 2016 19:30:24 -0000 Mailing-List: contact dev-help@allura.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@allura.apache.org Delivered-To: mailing list dev@allura.apache.org Received: (qmail 1522 invoked by uid 99); 22 Sep 2016 19:30:24 -0000 Received: from allura-vm.apache.org (HELO allura-vm) (140.211.11.147) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2016 19:30:24 +0000 Received: from allura-vm.apache.org (localhost [127.0.0.1]) by allura-vm (Postfix) with ESMTPS id DFAA22800D7 for ; Thu, 22 Sep 2016 19:30:23 +0000 (UTC) Content-Type: multipart/related; boundary="===============3671408107547530322==" MIME-Version: 1.0 To: dev@allura.apache.org From: "Dave Brondsema" Reply-To: "[allura:tickets] " <8131@tickets.allura.p.forge-allura.apache.org> Subject: [allura:tickets] #8131 refresh repo task uses wrong query Message-ID:

Sender: tickets@allura.p.forge-allura.apache.org In-Reply-To: <57e430ce6d19cd4fdac1de35.tickets@allura.p.forge-allura.apache.org> References: <57e430ce6d19cd4fdac1de35.tickets@allura.p.forge-allura.apache.org> Date: Thu, 22 Sep 2016 19:30:23 +0000 (UTC) archived-at: Thu, 22 Sep 2016 19:30:26 -0000 --===============3671408107547530322== Content-Type: multipart/alternative; boundary="===============9168704092745938190==" MIME-Version: 1.0 --===============9168704092745938190== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Fix on db/8131 Unfortunately we don't have tests for this, but you can run the script/task using instructions here: https://forge-allura.apache.org/docs/getting_started/administration.html#refreshrepo-py Use `--clean` for the affected code to run. --- ** [tickets:#8131] refresh repo task uses wrong query** **Status:** in-progress **Milestone:** unreleased **Created:** Thu Sep 22, 2016 07:28 PM UTC by Dave Brondsema **Last Updated:** Thu Sep 22, 2016 07:28 PM UTC **Owner:** Dave Brondsema `refreshrepo.py` queries `LastCommitDoc` by `commit_ids` but it should be `commit_id`. Using the wrong field name means it runs extremely slowly (unindexed) and never finds any records. --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============9168704092745938190== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

Fix on db/8131

Unfortunately we don't have tests for this, but you can run the script/task using instructions here: https://forge-allura.apache.org/docs/getting_started/administration.html#refreshrepo-py Use --clean for the affected code to run.


[tickets:#8131] refresh repo task uses wrong query

Status: in-progress
Milestone: unreleased
Created: Thu Sep 22, 2016 07:28 PM UTC by Dave Brondsema
Last Updated: Thu Sep 22, 2016 07:28 PM UTC
Owner: Dave Brondsema

refreshrepo.py queries LastCommitDoc by commit_ids but it should be commit_id. Using the wrong field name means it runs extremely slowly (unindexed) and never finds any records.


Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============9168704092745938190==-- --===============3671408107547530322==--