Skip to content

Conversation

heyucongtom
Copy link
Contributor

@heyucongtom heyucongtom commented Jun 20, 2018

Implementing GCS sharding initial commit.

What do these changes do?

First commit: transfering getRedisShards function, which shall be called by the primary shard. The idea is to call this function on primary shard after connection, pushing all the shards on the client vector, and then do the sharding in table's functions.

#PS: This PR currently serves as a "ongoing" branch. It may probably break the build or doing something weird.

Related issue number

Gcs sharding implementation.

@heyucongtom heyucongtom changed the title First commit: transfering getRedisShards function. Implementing GCS Sharding Jun 20, 2018
@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/6155/
Test PASSed.

@robertnishihara robertnishihara changed the title Implementing GCS Sharding [WIP] Implementing GCS Sharding Jun 21, 2018
Copy link
Collaborator

Choose a reason for hiding this comment

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

We are using /* */ in the legacy Ray codebase, but this should be converted to //.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am removing the std::move. Still, this part looks questionable..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I kind of leave out the "use_task_shards" in @stephanie-wang 's original commit.
What does that part do?

@AmplabJenkins
Copy link

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

@AmplabJenkins
Copy link

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

@AmplabJenkins
Copy link

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

@AmplabJenkins
Copy link

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

@AmplabJenkins
Copy link

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

@heyucongtom heyucongtom closed this Jul 1, 2018
robertnishihara pushed a commit that referenced this pull request Aug 31, 2018
Basically a re-implementation of #2281, with modifications of #2298 (A fix of #2334, for rebasing issues.).
[+] Implement sharding for gcs tables.
[+] Keep ClientTable and ErrorTable managed by the primary_shard. TaskTable is managed by the primary_shard for now, until a good hashing for tasks is implemented.
[+] Move AsyncGcsClient's initialization into Connect function.
[-] Move GetRedisShard and bool sharding from RedisContext's connect into AsyncGcsClient. This may make the interface cleaner.
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