googleapis / googleapis/google-cloud-cpp
Refactor how DefaultRowReader determines when to call OperationContext::PostCall
オープン
type: cleanup
- 主要言語
- C++
- スター
- 659
- フォーク
- 462
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 89
説明
It would be nice to remove the recently added `bool called_post_call_;` member variable and instead refactor how the internal state machine works to ensure OperationContext::PostCall is only called once regardless of success, error, or cancellation.
コントリビューションガイド
調査の方向性
Locate DefaultRowReader and inspect how its called_post_call_ member coordinates OperationContext::PostCall. Trace the success, error, and cancellation state transitions before deciding how they can guarantee a single PostCall invocation without that member. Done means all three paths call PostCall exactly once, but the issue names no files or tests to run.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- backend
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100