|
Return-Path: <rbarlow@redhat.com>
|
|
Received: from mi028.mc1.hosteurope.de ([80.237.138.227]) by wp245.webpack.hosteurope.de running ExIM with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1YiO5J-0005iQ-MA; Wed, 15 Apr 2015 16:14:33 +0200
|
|
Received: from mx1.redhat.com ([209.132.183.28]) by mx0.webpack.hosteurope.de (mi028.mc1.hosteurope.de) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) id 1YiO5I-0002Rp-Hh for dropbox+pulp+c71e@plan.io; Wed, 15 Apr 2015 16:14:33 +0200
|
|
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 4CECFAB112 for <dropbox+pulp+c71e@plan.io>; Wed, 15 Apr 2015 14:14:27 +0000
|
|
Received: from where.usersys.redhat.com (ovpn-113-122.phx2.redhat.com [10.3.113.122]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3FEEQWA020637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <dropbox+pulp+c71e@plan.io>; Wed, 15 Apr 2015 10:14:27 -0400
|
|
Date: Wed, 15 Apr 2015 10:14:26 -0400
|
|
From: Randy Barlow <rbarlow@redhat.com>
|
|
To: Pulp <dropbox+pulp+c71e@plan.io>
|
|
Message-ID: <552E7242.5030705@redhat.com>
|
|
In-Reply-To: <redmine.issue-888.20150414185737.78e04a4bade7faaf@plan.io>
|
|
References: <redmine.issue-888.20150414185737@plan.io>
|
|
<redmine.issue-888.20150414185737.78e04a4bade7faaf@plan.io>
|
|
Subject: Re: [Pulp - Refactor #888] (NEW) pulp_manage_db needs to run
|
|
.ensure_indexes() on MongoEngine platform models
|
|
Mime-Version: 1.0
|
|
Content-Type: text/plain;
|
|
charset=utf-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
Delivery-date: Wed, 15 Apr 2015 16:14:33 +0200
|
|
Organization: Red Hat, Inc.
|
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101
|
|
Thunderbird/31.6.0
|
|
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
|
|
X-HE-Spam-Level: ----------
|
|
X-HE-Spam-Score: -10.0
|
|
X-HE-Spam-Report: Content analysis details: (-10.0 points) pts rule name
|
|
description ---- ----------------------
|
|
-------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL:
|
|
Sender listed at http://www.dnswl.org/, high trust [209.132.183.28 listed in
|
|
list.dnswl.org] -5.0 PGP_MESSAGE RAW: Contains a PGP signed or encrypted
|
|
message
|
|
X-HE-SPF: PASSED
|
|
Envelope-to: dropbox+pulp+c71e@plan.io
|
|
|
|
On 04/14/2015 02:57 PM, Pulp wrote:
|
|
> After pulp-manage-db performs all the migrations it should load all the=
|
|
|
|
> models for the core collections (repos, tasks, repo_content_units, etc.=
|
|
)
|
|
> and run the ensure_indexes() method on the models to make sure that the=
|
|
|
|
> Pulp required indexes are maintained.
|
|
|
|
Is this true? When I used Mongoengine before, I believe it ensured all
|
|
the indices for me upon connecting to the DB. However, it has been ~3.5
|
|
years since I last used Mongoengine.
|
|
|
|
-- =
|
|
|
|
Randy Barlow
|