Automate handling of added/modified indices on package upgrade

未关闭
#762 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
领域
databases, tooling

调研方向

首先跟踪 Initialize 和 Activate 生命周期阶段以及现有的 SetMapSelectibility 行为。定义提议的 BuildIndices 阶段和命令行延迟标志如何适配该生命周期。完成的标准是:能够检测到新增或修改的索引,根据该标志创建或重建这些索引,并启用它们以供使用,而无需包开发人员进行额外工作。

由索引模型根据 Issue 内容生成。

描述

enhancement needs spec

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.

主要语言
ObjectScript
星标
41
派生
33
平均合并
23 小时 20 分钟
30 天内合并 PR
29

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

intersystems/ipm 的其他 Issue

查看 intersystems/ipm 的全部 Issue

相似的 Issue

更多 Databases Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。