Modify partition-level primary tracking to only markdown on success or non-transient error with hub region header

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
java
领域
backend, cloud

调研方向

首先定位通过 reads 编排的分区级 primary tracking 逻辑,并跟踪 read 状态码如何触发 markdown。确认只有成功和非瞬态错误会触发 tracking,瞬态错误不会触发,并且这些 reads 的 hub region 处理 header 已固定;完成意味着覆盖这些响应场景以及 hub region 范围限定。

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

描述

Cosmos feature-request

Summary

Modify partition-level primary tracking orchestrated through reads to only markdown when reads return success or non-transient error code, with hub region processing header pinned for these reads.

Details

  • Update the partition-level primary tracking logic to restrict markdown triggers:
    • Only markdown when the read returns a success status code
    • Only markdown when the read returns a non-transient error code
  • Pin the hub region processing header for these reads so that the tracking is scoped to hub region responses
  • Transient errors should not trigger primary tracking markdown

Motivation

Ensures partition-level primary tracking is only updated based on definitive responses (success or permanent failure), preventing incorrect tracking updates from transient errors. The hub region processing header pin ensures tracking accuracy in hub region caching scenarios.

主要语言
Java
星标
2.6k
派生
2.2k
平均合并
2 天 2 小时
30 天内合并 PR
257

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

Azure/azure-sdk-for-java 的其他 Issue

查看 Azure/azure-sdk-for-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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