Project

Profile

Help

Refactor #888 ยป Refactor #3416 - 2015-04-15T14_14_52Z.eml

rbarlow, 04/15/2015 04:14 PM

 
1
Return-Path: <rbarlow@redhat.com>
2
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
3
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
4
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
5
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
6
Date: Wed, 15 Apr 2015 10:14:26 -0400
7
From: Randy Barlow <rbarlow@redhat.com>
8
To: Pulp <dropbox+pulp+c71e@plan.io>
9
Message-ID: <552E7242.5030705@redhat.com>
10
In-Reply-To: <redmine.issue-888.20150414185737.78e04a4bade7faaf@plan.io>
11
References: <redmine.issue-888.20150414185737@plan.io>
12
 <redmine.issue-888.20150414185737.78e04a4bade7faaf@plan.io>
13
Subject: Re: [Pulp - Refactor #888] (NEW) pulp_manage_db needs to run
14
 .ensure_indexes() on MongoEngine platform models
15
Mime-Version: 1.0
16
Content-Type: text/plain;
17
 charset=utf-8
18
Content-Transfer-Encoding: quoted-printable
19
Delivery-date: Wed, 15 Apr 2015 16:14:33 +0200
20
Organization: Red Hat, Inc.
21
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101
22
 Thunderbird/31.6.0
23
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
24
X-HE-Spam-Level: ----------
25
X-HE-Spam-Score: -10.0
26
X-HE-Spam-Report: Content analysis details: (-10.0 points) pts rule name
27
 description ---- ----------------------
28
 -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL:
29
 Sender listed at http://www.dnswl.org/, high trust [209.132.183.28 listed in
30
 list.dnswl.org] -5.0 PGP_MESSAGE RAW: Contains a PGP signed or encrypted
31
 message
32
X-HE-SPF: PASSED
33
Envelope-to: dropbox+pulp+c71e@plan.io
34

    
35
On 04/14/2015 02:57 PM, Pulp wrote:
36
> After pulp-manage-db performs all the migrations it should load all the=
37

    
38
> models for the core collections (repos, tasks, repo_content_units, etc.=
39
)
40
> and run the ensure_indexes() method on the models to make sure that the=
41

    
42
> Pulp required indexes are maintained.
43

    
44
Is this true? When I used Mongoengine before, I believe it ensured all
45
the indices for me upon connecting to the DB. However, it has been ~3.5
46
years since I last used Mongoengine.
47

    
48
-- =
49

    
50
Randy Barlow
    (1-1/1)