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

Clarify that servers should extend TLL for blobs referenced in FindMissingBlobs #113

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

sstriker
Copy link
Collaborator

  • build/bazel/remote/execution/v2/remote_execution.proto
    (ContentAddressableStorage.FindMissingBlobs): Clarify that servers
    should extend lifetime for blobs requested.

  (ContentAddressableStorage.FindMissingBlobs): Clarify that servers
   should extend lifetime for blobs requested.
@googlebot googlebot added the cla: yes Pull requests whose authors are covered by a CLA with Google. label Jan 22, 2020
@@ -246,6 +246,9 @@ service ContentAddressableStorage {
// Clients can use this API before uploading blobs to determine which ones are
// already present in the CAS and do not need to be uploaded again.
//
// Servers SHOULD increase the TTLs of the referenced blobs if necessary and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: "TTL" sounds like an implementation detail. Would it make sense to change "TTLs" to "lifetimes" (both here and the GetActionResult comment that already exists in this doc)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetActionResult seems to use TTLs? Generally I agree that we should standardize on one wording. I don't have a preference either way.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we fix terminology in a separate PR? I would prefer to get the intent across regardless :).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, of course. This is just a "nitpick".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer "lifetime" to "TTL" but agree that the terminology change can be made separately

@bergsieker bergsieker merged commit 1b16ed7 into bazelbuild:master Mar 6, 2020
@sstriker sstriker deleted the fetchmissingblobs-ttl branch March 13, 2020 08:46
santigl pushed a commit to santigl/remote-apis that referenced this pull request Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Pull requests whose authors are covered by a CLA with Google.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants