mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 17:05:44 +08:00
Inline objects (#3756)
* added store_client_ to object_manager and node_manager * half through... * all code in, and compiling! Nothing tested though... * something is working ;-) * added a few more comments * now, add only one entry to the in GCS for inlined objects * more comments * remove a spurious todo * some comment updates * add test * added support for meta data for inline objects * avoid some copies * Initialize plasma client in tests * Better comments. Enable configuring nline_object_max_size_bytes. * Update src/ray/object_manager/object_manager.cc Co-Authored-By: istoica <istoica@cs.berkeley.edu> * Update src/ray/raylet/node_manager.cc Co-Authored-By: istoica <istoica@cs.berkeley.edu> * Update src/ray/raylet/node_manager.cc Co-Authored-By: istoica <istoica@cs.berkeley.edu> * fiexed comments * fixed various typos in comments * updated comments in object_manager.h and object_manager.cc * addressed all comments...hopefully ;-) * Only add eviction entries for objects that are not inlined * fixed a bunch of comments * Fix test * Fix object transfer dump test * lint * Comments * Fix test? * Fix test? * lint * fix build * Fix build * lint * Use const ref * Fixes, don't let object manager hang * Increase object transfer retry time for travis? * Fix test * Fix test? * Add internal config to java, fix PlasmaFreeTest
This commit is contained in:
@@ -13,6 +13,7 @@ public class BaseTest {
|
||||
public void setUp() {
|
||||
System.setProperty("ray.home", "../..");
|
||||
System.setProperty("ray.resources", "CPU:4,RES-A:4");
|
||||
System.setProperty("ray.raylet.config.inline_object_max_size_bytes", "0");
|
||||
Ray.init();
|
||||
}
|
||||
|
||||
@@ -29,6 +30,7 @@ public class BaseTest {
|
||||
// unset system properties
|
||||
System.clearProperty("ray.home");
|
||||
System.clearProperty("ray.resources");
|
||||
System.clearProperty("ray.raylet.config.inline_object_max_size_bytes");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user