Skip to content

Add an Append call to the GCS Log that checks for current length #1788

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

Merged
merged 19 commits into from
Mar 27, 2018

Conversation

stephanie-wang
Copy link
Contributor

What do these changes do?

This adds a version of the Append operation on the GCS Log interface that takes in a log_length. The command fails if the requested log_length does not match the current length of the log. This allows us to use Redis as a centralized point for atomic operations (replacing the legacy test-and-set functionality).

@stephanie-wang stephanie-wang requested a review from pcmoritz March 27, 2018 05:19
@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/4506/
Test PASSed.

@pcmoritz pcmoritz merged commit 925e392 into ray-project:master Mar 27, 2018
@pcmoritz pcmoritz deleted the gcs-append-at branch March 27, 2018 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants