GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Should functional blob and bucket operations enforce metageneration match upon updates · Issue #194 · googleapis/google-cloud-java

Should functional blob and bucket operations enforce metageneration match upon updates #194

New issue
Copy link
New issue
Copy link
Closed
Closed
Should functional blob and bucket operations enforce metageneration match upon updates#194
Copy link
Assignees
mziccard
Labels
api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.

Description

@aozarov
aozarov
opened on Sep 30, 2015
Issue body actions

This topic was also discussed in #171.

Currently the functional blob and bucket pin to their metadata and provide the user with the option of enforcing metadata version check in updates operation. However this check is not triggered by default.

An alternative to what we have now is to enforce the version check by default and to provide options to disable the check instead.

Activity

Next
  1. aozarov
    added
    type: questionRequest for information or clarification. Not an issue.
    api: storageIssues related to the Cloud Storage API.
    on Sep 30, 2015
  2. aozarov commented on Sep 30, 2015

    @aozarov
    aozarov
    on Sep 30, 2015
    ContributorAuthor
    More actions

    My preference is to keep the existing way (no enforcement by default but have an option to support such check).

  3. mziccard commented on Oct 1, 2015

    @mziccard
    mziccard
    on Oct 1, 2015
    Contributor
    More actions

    I am +1 for not checking by default and adding an option.

  4. aozarov commented on Oct 1, 2015

    @aozarov
    aozarov
    on Oct 1, 2015
    ContributorAuthor
    More actions

    @mziccard Just to make sure I understand your preference.
    Is your preference to keep the existing way or are you suggesting to add a new option?

  5. mziccard commented on Oct 1, 2015

    @mziccard
    mziccard
    on Oct 1, 2015
    Contributor
    More actions

    @aozarov I want to keep update as it is (no enforment by default). If we want we can add support for generation checks by allowing something like:

    blob.update(newInfo, 
      UpdateOptions.generationMatch(), UpdateOptions.metagenerationMatch());
  6. aozarov commented on Oct 1, 2015

    @aozarov
    aozarov
    on Oct 1, 2015
    ContributorAuthor
    More actions

    Ok, thanks for making it clear.

    Isn't that already supported?

    blob.update(newInfo,
        BlobTargetOption.generationMatch(), BlobTargetOptions.metagenerationMatch());
  7. mziccard commented on Oct 1, 2015

    @mziccard
    mziccard
    on Oct 1, 2015
    Contributor
    More actions

    Yeah my bad :) Then it's ok how it is for me!

  8. mziccard commented on Jul 22, 2016

    @mziccard
    mziccard
    on Jul 22, 2016
    Contributor
    More actions

    This has been open for a while. As I already said I believe that the way we do these checks now is ok and consistent with other uses of generationMatch() and metagenerationMatch() options. I am closing this. Feel free to reopen if you believe we should give this more thoughts.

  9. mziccard
    closed this as completedon Jul 22, 2016
  10. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  11. github-actions
    added 3 commits that reference this issue on Jun 21, 2022

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    56929ac

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    70f245e

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    ed43c3d
  12. github-actions
    added a commit that references this issue on Jun 29, 2022

    deps: update dependency com.google.errorprone:error_prone_annotations…

    33e732c
  13. 10 remaining items

  14. github-actions
    added a commit that references this issue on Jul 27, 2022

    chore(bazel): update protobuf to v3.21.3 (#194)

    5b8a210
  15. github-actions
    added a commit that references this issue on Aug 16, 2022

    chore(deps): update dependency com.google.cloud:google-cloud-datastre…

    446c4c5
  16. github-actions
    added a commit that references this issue on Sep 15, 2022

    chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…

    b2ecd3e
  17. github-actions
    added 2 commits that reference this issue on Sep 30, 2022

    deps: update dependency google-crc32c to v1.5.0 (#194)

    7ee8030

    chore(main): release 1.3.0 (#172)

    f6cf47b
  18. github-actions
    added a commit that references this issue on Nov 9, 2022

    chore(java): update dependencies in java requirements file (#1695) (#194

    e58d25b
  19. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: release 2.0.0 (#194)

    b6c6bfa
  20. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore: regenerate README (#194)

    1298da8
  21. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: release 2.0.0 (googleapis#194)

    1b8cfd8
  22. suztomo
    added a commit that references this issue on Mar 23, 2026

    samples: add presubmit lint check (googleapis#194)

    91b1481
  23. suztomo
    added 2 commits that reference this issue on Mar 30, 2026

    deps: update dependency org.mockito:mockito-core to v3.5.7 (#194)

    31ecf21

    chore: release 0.122.0 (#277)

    b3b4d60
  24. lqiu96
    added 2 commits that reference this issue on Apr 1, 2026

    deps: update dependency org.mockito:mockito-core to v3.5.7 (#194)

    d5493c2

    chore: release 0.122.0 (#277)

    fe0f517
  25. blakeli0
    added a commit that references this issue on May 18, 2026

    feat: Dynamic channel pool scaling (#194)

    ce5dcad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.