googleapis / googleapis/google-cloud-java

[java-storage] metadata/label diffing logic can fail to update sometimes

Open
#12,632 1 comment 0 reactions 0 assignees View on GitHub
api: storage priority: p3 type: bug
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

When attempting to update object metadata or bucket labels without first fetching the current state, the update can fail to yield the desired state.

Effects all versions >= [2.17.0](https://github.com/googleapis/java-storage/releases/tag/v2.17.0)

Current workaround is to fetch the current BucketInfo or BlobInfo before updating.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.