Project

Profile

Help

Story #152

As a user, I can add custom indexes to mongo collections

Added by mhrivnak over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
2.7.0
Groomed:
Sprint Candidate:
Tags:
Pulp 2
Sprint:
February 2015
Quarter:

Description

Some users want the ability to search on a particular field of a particular collection frequently, and thus need the ability to define custom indexes. Right now, pulp will destroy user-defined indexes when pulp-manage-db runs.

Deliverables:

  • move the drop and create indexes code from pulp-manage-db into a new migration
  • add a release note that only after running pulp-manage-db one last time will the user's indexes are now safe to be added and they will not be dropped
  • add a note in the user facing docs that users are free to add/manage their own migrations on mongodb
  • add a section to the developer docs that explains a migration needs to be used for deletion of indexes in the future
  • the new migration needs to come with tests

History

#1 Updated by rbarlow over 6 years ago

Once we switch fully to mongoengine, we can get rid of the dumb thing
that drops the index with each pulp-manage-db.

Once we've done that, my preference would be for us to stop dropping the
indices in pulp-manage-db, and leave it to the user to use the Mongo
shell to add their own custom indices.

#2 Updated by bmbouter over 6 years ago

  • Tags Sprint Candidate added

#3 Updated by bmbouter over 6 years ago

Some users want the ability to search on a particular field of a particular collection frequently, and thus need the ability to define custom indexes. Right now, pulp will destroy user-defined indexes when pulp-manage-db runs.

Deliverables:

  • move the drop and create indexes code from pulp-manage-db into a new migration
  • add a release note that only after running pulp-manage-db one last time will the user's indexes are now safe to be added and they will not be dropped
  • add a note in the user facing docs that users are free to add/manage their own migrations on mongodb
  • add a section to the developer docs that explains a migration needs to be used for deletion of indexes in the future

#4 Updated by bmbouter over 6 years ago

  • Description updated (diff)

#5 Updated by bmbouter over 6 years ago

  • Description updated (diff)

#7 Updated by mhrivnak over 6 years ago

  • Sprint/Milestone set to 12

#8 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#9 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST

#10 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED

#11 Updated by bmbouter over 6 years ago

  • Tags deleted (Sprint Candidate)

#12 Updated by dkliban@redhat.com over 6 years ago

  • Platform Release set to 2.7.0

#13 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#14 Updated by rbarlow over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#15 Updated by bmbouter over 3 years ago

  • Sprint set to February 2015

#16 Updated by bmbouter over 3 years ago

  • Sprint/Milestone deleted (12)

#17 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF