Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cjc25
Copy link
Contributor

@cjc25 cjc25 commented Jun 1, 2025

Correct handling when the caller specifies takeover for the current object generation. The previous behavior was inconsistent: it opened a writer when the user specified:

c.Bucket(b).Object(o).Generation(0).NewWriterFromAppendableObject(...)

But in the internal writer code would only perform takeovers for generations greater than 0.

Correct handling when the caller specifies takeover for the current
object generation. The previous behavior was inconsistent: it opened a
writer when the user specified:

```
c.Bucket(b).Object(o).Generation(0).NewWriterFromAppendableObject(...)
```

But in the internal writer code would only perform takeovers for
generations greater than 0.
@cjc25 cjc25 requested review from a team as code owners June 1, 2025 00:59
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Jun 1, 2025
@cjc25 cjc25 requested a review from BrennaEpp June 3, 2025 21:13
@BrennaEpp BrennaEpp enabled auto-merge (squash) June 4, 2025 06:42
@BrennaEpp BrennaEpp merged commit 9ca8e01 into googleapis:main Jun 4, 2025
8 checks passed
@cjc25 cjc25 deleted the current-append-gen branch June 4, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants