intersystems / intersystems/ipm
Automate handling of added/modified indices on package upgrade
Open
enhancement
needs spec
- Dominant language
- ObjectScript
- Stars
- 41
- Forks
- 29
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 4
Description
End goal:
A package developer should have to do zero work to handle addition of new indices in a new release of their package.
Placeholder from AppS/HS(Dev)Ops discussion today - could do something like:
In Initialize, capture the set of existing indices (in code) - might be empty.
In Activate, capture the set of modified indices (added/updated) then SetMapSelectibility to 0 for each of them.
Subject to command line flag (defaulting to "build them right now" but allowing deferral as well) call a new BuildIndices lifecycle phase that builds/rebuilds the new/modified indices then enables them for use.
Contributor guide
Assessment
This issue has not been assessed yet.