Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: documents resume on update database ddl #767

Merged

Conversation

thiagotnunes
Copy link
Contributor

Instead of throwing an ALREADY_EXISTS error on the update database ddl operation, we resume the original operation. This is necessary, because the update database ddl is retryable. Because of this, we don't want to confuse the caller by bubbling up an ALREADY_EXISTS error on a retry, even though they used a non-existing operation id.

Instead of throwing an ALREADY_EXISTS error on the update database ddl
operation, we resume the original operation. This is necessary, because
the update database ddl is retryable. Because of this, we don't want to
confuse the caller by bubbling up an ALREADY_EXISTS error on a retry,
even though they used a non-existing operation id.
@thiagotnunes thiagotnunes requested a review from a team as a code owner January 5, 2021 04:53
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Jan 5, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 5, 2021
@codecov
Copy link

codecov bot commented Jan 5, 2021

Codecov Report

Merging #767 (5fda169) into master (90ad9d6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #767   +/-   ##
=========================================
  Coverage     85.00%   85.00%           
  Complexity     2562     2562           
=========================================
  Files           143      143           
  Lines         14007    14007           
  Branches       1338     1338           
=========================================
  Hits          11906    11906           
  Misses         1538     1538           
  Partials        563      563           
Impacted Files Coverage Δ Complexity Δ
...m/google/cloud/spanner/spi/v1/GapicSpannerRpc.java 81.35% <ø> (ø) 81.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90ad9d6...5fda169. Read the comment docs.

@thiagotnunes thiagotnunes merged commit aeb255d into googleapis:master Jan 5, 2021
@thiagotnunes thiagotnunes deleted the document-update-database-ddl branch January 5, 2021 22:33
thiagotnunes added a commit that referenced this pull request May 6, 2021
Instead of throwing an ALREADY_EXISTS error on the update database ddl
operation, we resume the original operation. This is necessary, because
the update database ddl is retryable. Because of this, we don't want to
confuse the caller by bubbling up an ALREADY_EXISTS error on a retry,
even though they used a non-existing operation id.
ansh0l pushed a commit to ansh0l/java-spanner that referenced this pull request Nov 10, 2022
This is an auto-generated regeneration of the .pb.go files by
cloud.google.com/go/internal/gapicgen. Once this PR is submitted, genbot will
update the corresponding PR to depend on the newer version of go-genproto, and
assign reviewers. Whilst this or any regen PR is open in go-genproto, genbot
will not create any more regeneration PRs. If all regen PRs are closed,
gapicgen will create a new set of regeneration PRs once per night.

If you have been assigned to review this PR, please:

- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship. That will prompt
genbot to assign reviewers to the google-cloud-go PR.

Corresponding google-cloud-go PR: googleapis/google-cloud-go#5705

Changes:

chore: disable Python snippetgen for bigtable
  PiperOrigin-RevId: 431126635
  Source-Link: googleapis/googleapis@dbfbfdb

chore: update copyright year to 2022
  PiperOrigin-RevId: 431037888
  Source-Link: googleapis/googleapis@b3397f5

docs(dialogflow/cx): updated copyright
  PiperOrigin-RevId: 431035391
  Source-Link: googleapis/googleapis@4b39bf1

chore: add outer class name for CVSS.proto
  PiperOrigin-RevId: 430998475
  Source-Link: googleapis/googleapis@19753e2

chore: regenerate API index

  Source-Link: googleapis/googleapis@5c4db90

feat(dialogflow): added ConversationModel resource and its APIs feat: added ConversationDataset resource and its APIs feat: added SetSuggestionFeatureConfig and ClearSuggestionFeatureConfig APIs for ConversationProfile feat: added new knowledge type of Document content feat: added states of Document feat: added metadata for the Knowledge operation docs: updated copyright
  PiperOrigin-RevId: 430829291
  Source-Link: googleapis/googleapis@83795dd

build(spanner): add flag to distinguish autogenerated libs with a handwritten layer
  PiperOrigin-RevId: 430741048
  Source-Link: googleapis/googleapis@6bd2087
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
…oogleapis#767)

Source-Link: googleapis/synthtool@e122cb0
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants