Local scheduler filters out dead clients during reconstruction (#1182)

* Object table lookup returns vector of DBClientID instead of address strings

* Add node IP address to DBClient notification

* DB client cache stores entire DB client, convert addresses to std::string

* get cached db client returns the client

* Expose a call to initialize the redis cache

* Local scheduler filters out dead clients during reconstruction

* Remove node ip address from dbclient, use aux_address for plasma managers

* Get entire db client entry when not found in cache

* Fix common tests

* Fix address in tests

* Push error to driver if driver task did the put

* Address Robert's comments and cleanup

* Remove unused Redis command

* Fix db test
This commit is contained in:
Stephanie Wang
2017-11-10 11:29:24 -08:00
committed by Robert Nishihara
parent d36595cb92
commit 07f0532b9b
19 changed files with 437 additions and 344 deletions
+2
View File
@@ -36,6 +36,7 @@ void task_table_update(DBHandle *db_handle,
void task_table_test_and_update(
DBHandle *db_handle,
TaskID task_id,
DBClientID test_local_scheduler_id,
int test_state_bitmask,
int update_state,
RetryInfo *retry,
@@ -43,6 +44,7 @@ void task_table_test_and_update(
void *user_context) {
TaskTableTestAndUpdateData *update_data =
(TaskTableTestAndUpdateData *) malloc(sizeof(TaskTableTestAndUpdateData));
update_data->test_local_scheduler_id = test_local_scheduler_id;
update_data->test_state_bitmask = test_state_bitmask;
update_data->update_state = update_state;
/* Update the task entry's local scheduler with this client's ID. */