Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

storage-postgres: DeleteTable's response omits VectorIndexes that DescribeTable reports

未关闭 适合新手
#656 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
postgresql, rust
领域
databases

调研方向

从crates/storage-postgres/src/delete_table.rs开始,阅读build_table_description_from_row;比较DescribeTable如何为同一张表填充VectorIndexes。更新DeleteTable描述,使其包含这些索引,然后检查相关的storage-postgres测试,确认响应一致。完成标准是DeleteTable和DescribeTable都报告该表的向量索引。

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

描述

backend:postgresql bug

DeleteTable's response is built by build_table_description_from_row in crates/storage-postgres/src/delete_table.rs, which never sets VectorIndexes. A concurrent DescribeTable of the same table includes them ([{"IndexName":"vidx","IndexStatus":"ACTIVE", ...}]), so the two descriptions of one table differ in that member.

Observed on main cf321f05 on a vector table with two GSIs: GlobalSecondaryIndexes is present in both; VectorIndexes is null in the DeleteTable response and populated in DescribeTable.

VectorIndexes is an ExtendDB extension, so this is a self-consistency point rather than a DynamoDB difference. Expected: the DeleteTable description includes the table's vector indexes as DescribeTable does. Found while reviewing #395 (its DELETING-table branch reuses the same builder); out of scope there.

主要语言
Rust
星标
517
派生
60
平均合并
4 天 10 小时
30 天内合并 PR
37

环境准备

从这里开始

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

ExtendDB/extenddb 的其他 Issue

查看 ExtendDB/extenddb 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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