Skip to content

fix(bigtable): detect omitted MutateRows response entries in ApplyBulk - #20557

Merged
mutianf merged 3 commits into
googleapis:mainfrom
mutianf:fix-applybulk-missing-entries
Sep 22, 2026
Merged

mutianf merged 3 commits into
googleapis:mainfrom
mutianf:fix-applybulk-missing-entries

Conversation

@mutianf

@mutianf mutianf commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@mutianf
mutianf requested review from a team as code owners September 18, 2026 18:44
@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the Bigtable API. label Sep 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces tracking for missing entry results in MutateRows responses during bulk mutations, marking unseen entries with an internal error upon EOF. It also adds bounds checking for entry indices and includes a unit test to verify this behavior. The review feedback points out a potential nil pointer dereference when accessing entry.Status directly, recommending a defensive nil check to prevent panics.

Comment thread bigtable/apply_bulk.go
@mutianf
mutianf enabled auto-merge (squash) September 22, 2026 01:59
@mutianf mutianf added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 22, 2026
@parthea parthea added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Sep 22, 2026
@kokoro-team kokoro-team removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Sep 22, 2026
@mutianf
mutianf merged commit 68b3f33 into googleapis:main Sep 22, 2026
19 checks passed
@mutianf
mutianf deleted the fix-applybulk-missing-entries branch September 22, 2026 17:47
mutianf pushed a commit that referenced this pull request Sep 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.58.0](bigtable/v1.57.0...bigtable/v1.58.0)
(2026-09-25)


### Features

* **all:** Update supported go versions
([#20520](#20520))
([90413d3](90413d3))
* **bigtable:** Support hot duration, disabled, and effective backup
policy
([#20573](#20573))
([da2bfcc](da2bfcc))
* Update API sources and regenerate
([#20526](#20526))
([e6f37a3](e6f37a3))
* Update API sources and regenerate
([#20570](#20570))
([cc91d66](cc91d66))
* Update API sources and regenerate.
([e6f37a3](e6f37a3))


### Bug Fixes

* **bigtable:** Detect omitted MutateRows response entries in ApplyBulk
([#20557](#20557))
([68b3f33](68b3f33))
* **bigtable:** Fix TestRetryApplyBulk_OverallRequestFailure test
interceptor
([#20574](#20574))
([25bc085](25bc085))
* **various:** Address format directive issues
([#20547](#20547))
([e2e1047](e2e1047))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants