1
0
Fork 0

Bug fix 3.4/fix smart graph issues (#9861)

* release version 3.4.8

* [3.4] fix agency lockup when removing 404-ed callbacks (#9839)

* fix output of `require("@arangodb/smart-graph")._listObjects()`, which was broken before

* updated CHANGELOG
This commit is contained in:
Jan 2019-09-11 11:52:48 +02:00 committed by KVS85
parent cf005b3f45
commit f9fdc39340
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,12 @@
v3.4.9 (XXXX-XX-XX)
-------------------
* Fixed output of `_listObjects()` function of "general-graph" and "smart-graph"
modules, which did not print the `_id` values of the return graphs correctly.
* Fixed undefined behavior in single server mode when trying to create a smart
graph.
* Add count of objects to latency reporting in arangoimport.
* Fixed adding an orphan collections as the first collection in a SmartGraph.

View File

@ -170,6 +170,7 @@ static void JS_GetGraph(v8::FunctionCallbackInfo<v8::Value> const& args) {
result.close();
VPackSlice resSlice = result.slice().get("graph");
TRI_V8_RETURN(TRI_VPackToV8(isolate, resSlice));
TRI_V8_TRY_CATCH_END
}
@ -189,7 +190,8 @@ static void JS_GetGraphs(v8::FunctionCallbackInfo<v8::Value> const& args) {
}
if (!result.isEmpty()) {
TRI_V8_RETURN(TRI_VPackToV8(isolate, result.slice().get("graphs")));
auto ctx = std::make_shared<transaction::StandaloneContext>(vocbase);
TRI_V8_RETURN(TRI_VPackToV8(isolate, result.slice().get("graphs"), ctx->getVPackOptionsForDump()));
}
TRI_V8_RETURN_UNDEFINED();