test travis
This commit is contained in:
Родитель
a3f710e826
Коммит
42cb7403bd
|
@ -404,6 +404,9 @@ void TestCheckPoint(int argc, char* argv[], bool restore){
|
||||||
//MatrixServerTable<int>* server_table = new MatrixServerTable<int>(num_row, num_col);
|
//MatrixServerTable<int>* server_table = new MatrixServerTable<int>(num_row, num_col);
|
||||||
//if restore = true, will restore server data and return the next iter number of last dump file
|
//if restore = true, will restore server data and return the next iter number of last dump file
|
||||||
//else do nothing and return 0
|
//else do nothing and return 0
|
||||||
|
if (worker_table == nullptr) {
|
||||||
|
//no worker in this node
|
||||||
|
}
|
||||||
int begin_iter = MV_RestoreTable("//5FTGDB2/tableData/serverTable_");
|
int begin_iter = MV_RestoreTable("//5FTGDB2/tableData/serverTable_");
|
||||||
MV_Barrier();//won't dump data without parameters
|
MV_Barrier();//won't dump data without parameters
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче