Commit 9ca8e01
authored
fix(storage): Current object generation takeover. (#12383)
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.1 parent d044e6f commit 9ca8e01
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments