Project

Profile

Help

Story #152

closed

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

Added by mhrivnak about 9 years ago. Updated almost 5 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

Also available in: Atom PDF