mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of github.com:arangodb/arangodb into devel
This commit is contained in:
commit
ff9f3f1fa3
|
@ -38,6 +38,8 @@ devel
|
|||
|
||||
* added iconv-lite and timezone modules
|
||||
|
||||
* web interface now allows installing GitHub and zip services in legacy mode
|
||||
|
||||
|
||||
v3.0.5 (XXXX-XX-XX)
|
||||
-------------------
|
||||
|
|
|
@ -69,7 +69,9 @@ result is defined as follows:
|
|||
- null: *null* is equal to *null*
|
||||
- boolean: *false* is less than *true*
|
||||
- number: numeric values are ordered by their cardinal value
|
||||
- string: string values are ordered using a localized comparison,
|
||||
- string: string values are ordered using a localized comparison, using the configured
|
||||
[server language](../../Manual/Administration/Configuration/index.html#default-language)
|
||||
for sorting according to the alphabetical order rules of that language
|
||||
|
||||
Note: unlike in SQL, *null* can be compared to any value, including *null*
|
||||
itself, without the result being converted into *null* automatically.
|
||||
|
|
|
@ -21,6 +21,8 @@ and the different data models ArangoDB offers.
|
|||
In its purpose, AQL is similar to the Structured Query Language (SQL). AQL supports
|
||||
reading and modifying collection data, but it doesn't support data-definition
|
||||
operations such as creating and dropping databases, collections and indexes.
|
||||
It is a pure data manipulation language (DML), not a data definition language
|
||||
(DDL) or a data control language (DCL).
|
||||
|
||||
The syntax of AQL queries is different to SQL, even if some keywords overlap.
|
||||
Nevertheless, AQL should be easy to understand for anyone with an SQL background.
|
||||
|
|
|
@ -63,11 +63,11 @@ So this question boils down to 'Can I afford the additional effort or do I need
|
|||
|
||||
If you want to only traverse edges of a specific type, there are two ways to achieve this. The first would be
|
||||
an attribute in the edge document - i.e. `type`, where you specify a differentiator for the edge -
|
||||
i.e. `"friends"`, `"family"`, `"maried"` or `"workmates"`, so you can later `FILTER e.type = "friends"`
|
||||
i.e. `"friends"`, `"family"`, `"married"` or `"workmates"`, so you can later `FILTER e.type = "friends"`
|
||||
if you only want to follow the friend edges.
|
||||
|
||||
Another way, which may be more efficient in some cases, is to use different edge collections for different
|
||||
types of edges, so you have `friend_eges`, `family_edges`, `maried_edges` and `workmate_edges` as collection names.
|
||||
types of edges, so you have `friend_eges`, `family_edges`, `married_edges` and `workmate_edges` as collection names.
|
||||
You can then configure several named graphs including a subset of the available edge and vertex collections -
|
||||
or you use anonymous graph queries, where you specify a list of edge collections to take into account in that query.
|
||||
To only follow friend edges, you would specify `friend_edges` as sole edge collection.
|
||||
|
|
|
@ -110,3 +110,12 @@ the index attributes or have non-numeric values in the index attributes
|
|||
will not be indexed. *ensureGeoConstraint* is deprecated and *ensureGeoIndex*
|
||||
should be used instead.
|
||||
|
||||
The index does not provide a `unique` option because of its limited usability.
|
||||
It would prevent identical coordinates from being inserted only, but even a
|
||||
slightly different location (like 1 inch or 1 cm off) would be unique again and
|
||||
not considered a duplicate, although it probably should. The desired threshold
|
||||
for detecting duplicates may vary for every project (including how to calculate
|
||||
the distance even) and needs to be implemented on the application layer as needed.
|
||||
You can write a [Foxx service](../Foxx/index.html) for this purpose and make use
|
||||
of the AQL [geo functions](../../AQL/Functions/Geo.html) to find nearby
|
||||
coordinates supported by a geo index.
|
||||
|
|
|
@ -44,18 +44,18 @@ The primary index of a collection cannot be dropped or changed, and there is no
|
|||
mechanism to create user-defined primary indexes.
|
||||
|
||||
|
||||
!SUBSECTION Edges Index
|
||||
!SUBSECTION Edge Index
|
||||
|
||||
Every [edge collection](../Appendix/Glossary.md#edge-collection) also has an
|
||||
automatically created *edges index*. The edges index provides quick access to
|
||||
automatically created *edge index*. The edge index provides quick access to
|
||||
documents by either their `_from` or `_to` attributes. It can therefore be
|
||||
used to quickly find connections between vertex documents and is invoked when
|
||||
the connecting edges of a vertex are queried.
|
||||
the connecting edges of a vertex are queried.
|
||||
|
||||
Edges indexes are used from within AQL when performing equality lookups on `_from`
|
||||
Edge indexes are used from within AQL when performing equality lookups on `_from`
|
||||
or `_to` values in an edge collections. There are also dedicated functions to
|
||||
find edges given their `_from` or `_to` values that will always make use of the
|
||||
edges index:
|
||||
edge index:
|
||||
|
||||
```js
|
||||
db.collection.edges("<from-value>");
|
||||
|
@ -66,13 +66,14 @@ db.collection.inEdges("<from-value>");
|
|||
db.collection.inEdges("<to-value>");
|
||||
```
|
||||
|
||||
Internally, the edges index is implemented as a hash index. It can be used for equality
|
||||
lookups, but not for range queries or for sorting. As edges indexes are automatically
|
||||
created for edge collections, it is not possible to create user-defined edges indexes.
|
||||
Internally, the edge index is implemented as a hash index, which stores the union
|
||||
of all `_from` and `_to` attributes. It can be used for equality
|
||||
lookups, but not for range queries or for sorting. Edge indexes are automatically
|
||||
created for edge collections. It is not possible to create user-defined edge indexes.
|
||||
However, it is possible to freely use the `_from` and `_to` attributes in user-defined
|
||||
indexes.
|
||||
|
||||
An edges index cannot be dropped or changed.
|
||||
An edge index cannot be dropped or changed.
|
||||
|
||||
|
||||
!SUBSECTION Hash Index
|
||||
|
@ -354,7 +355,7 @@ FOR doc IN posts
|
|||
RETURN doc
|
||||
```
|
||||
|
||||
The following FILTER conditions will not use the array index:
|
||||
The following FILTER conditions will **not use** the array index:
|
||||
|
||||
```js
|
||||
FILTER doc.tags ANY == 'foobar'
|
||||
|
@ -365,7 +366,7 @@ FILTER 'foobar' == doc.tags
|
|||
```
|
||||
|
||||
It is also possible to create an index on subattributes of array values. This makes sense
|
||||
when the index attribute is an array of objects, e.g.
|
||||
if the index attribute is an array of objects, e.g.
|
||||
|
||||
```js
|
||||
db.posts.ensureIndex({ type: "hash", fields: [ "tags[*].name" ] });
|
||||
|
|
|
@ -154,3 +154,15 @@ and
|
|||
```
|
||||
will match.
|
||||
|
||||
!SECTION Persistent Indexes and Server Language
|
||||
|
||||
The order of index entries in persistent indexes adheres to the configured
|
||||
[server language](../Administration/Configuration/README.md#default-language).
|
||||
If, however, the server is restarted with a different language setting as when
|
||||
the persistent index was created, not all documents may be returned anymore and
|
||||
the sort order of those which are returned can be wrong (whenever the persistent
|
||||
index is consulted).
|
||||
|
||||
To fix persistent indexes after a language change, delete and re-create them.
|
||||
Skiplist indexes are not affected, because they are not persisted and
|
||||
automatically rebuilt on every server start.
|
||||
|
|
|
@ -1 +1,26 @@
|
|||
!CHAPTER Release Notes
|
||||
|
||||
!SECTION Whats New
|
||||
|
||||
- [Whats New in 3.0](NewFeatures30.md)
|
||||
- [Whats New in 2.8](NewFeatures28.md)
|
||||
- [Whats New in 2.7](NewFeatures27.md)
|
||||
- [Whats New in 2.6](NewFeatures26.md)
|
||||
- [Whats New in 2.5](NewFeatures25.md)
|
||||
- [Whats New in 2.4](NewFeatures24.md)
|
||||
- [Whats New in 2.3](NewFeatures23.md)
|
||||
- [Whats New in 2.2](NewFeatures22.md)
|
||||
- [Whats New in 2.1](NewFeatures21.md)
|
||||
|
||||
!SECTION Incompatible changes
|
||||
|
||||
Also see [Upgrading](../Administration/Upgrading/README.md) in the
|
||||
Administration chapter.
|
||||
|
||||
- [Incompatible changes in 3.0](UpgradingChanges30.md)
|
||||
- [Incompatible changes in 2.8](UpgradingChanges28.md)
|
||||
- [Incompatible changes in 2.7](UpgradingChanges27.md)
|
||||
- [Incompatible changes in 2.6](UpgradingChanges26.md)
|
||||
- [Incompatible changes in 2.5](UpgradingChanges25.md)
|
||||
- [Incompatible changes in 2.4](UpgradingChanges24.md)
|
||||
- [Incompatible changes in 2.3](UpgradingChanges23.md)
|
||||
|
|
|
@ -92,6 +92,9 @@ it will automatically figure out where the data is stored (read) or to
|
|||
be stored (write). The information about the shards is shared across the
|
||||
coordinators using the Agency.
|
||||
|
||||
Also see [Sharding](../Administration/Sharding/README.md) in the
|
||||
Administration chapter.
|
||||
|
||||
!SUBSECTION Many sensible configurations
|
||||
|
||||
This architecture is very flexible and thus allows many configurations,
|
||||
|
|
|
@ -64,6 +64,9 @@ router.use(foxxRouter)
|
|||
|
||||
const installer = createRouter();
|
||||
foxxRouter.use(installer)
|
||||
.queryParam('legacy', joi.boolean().default(true), dd`
|
||||
Flag to install the service in legacy mode.
|
||||
`)
|
||||
.queryParam('upgrade', joi.boolean().default(false), dd`
|
||||
Flag to upgrade the service installed at the mountpoint.
|
||||
Triggers setup.
|
||||
|
@ -85,8 +88,9 @@ installer.use(function (req, res, next) {
|
|||
options = req.body;
|
||||
} else {
|
||||
appInfo = req.body;
|
||||
options = undefined;
|
||||
options = {};
|
||||
}
|
||||
options.legacy = req.queryParams.legacy;
|
||||
let service;
|
||||
try {
|
||||
if (upgrade) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -1499,9 +1499,9 @@ if (list.length > 0) {
|
|||
|
||||
<div class="tab-pane" id="github">
|
||||
<div>
|
||||
Download a foxx application from a public <a href="https://www.github.com">github.com</a> repository. In order to define a version please add a <a href="https://git-scm.com/book/en/v2/Git-Basics-Tagging">git tag</a> to your repository using the following format: "v1.2.3". To connect to github your username and the name of the repository are sufficient.
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
Download a foxx application from a public <a href="https://www.github.com">github.com</a> repository. In order to define a version please add a <a href="https://git-scm.com/book/en/v2/Git-Basics-Tagging">git tag</a> to your repository using the following format: "v1.2.3". To connect to github your username and the name of the repository are sufficient.
|
||||
</p>
|
||||
<table>
|
||||
<tr class="tableRow">
|
||||
<th class="collectionInfoTh">
|
||||
|
@ -1519,6 +1519,19 @@ if (list.length > 0) {
|
|||
<input type="text" id="tag" value="" placeholder="master">
|
||||
</th>
|
||||
</tr>
|
||||
<tr class="tableRow">
|
||||
<th class="collectionInfoTh">
|
||||
Enable Legacy Mode:
|
||||
</th>
|
||||
<th class="collectionInfoTh">
|
||||
<input type="checkbox" id="github-app-islegacy" value="true">
|
||||
</th>
|
||||
<th>
|
||||
<a class="modalTooltips" title="Legacy Compatibility Mode allows mounting some Foxx services written for ArangoDB 2.8 or older. This overrides the ArangoDB version specified in the service manifest. See the Foxx documentation for more information on running legacy services in ArangoDB 3.">
|
||||
<span class="arangoicon icon_arangodb_info"></span>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1531,6 +1544,21 @@ if (list.length > 0) {
|
|||
This is also compatible with the download format for ZIP files on <a href="https://www.github.com">github.com</a>.
|
||||
Remember to change to a new version number in the manifest.json when uploading an update.
|
||||
</p>
|
||||
<table>
|
||||
<tr class="tableRow">
|
||||
<th class="collectionInfoTh">
|
||||
Enable Legacy Mode:
|
||||
</th>
|
||||
<th class="collectionInfoTh">
|
||||
<input type="checkbox" id="zip-app-islegacy" value="true">
|
||||
</th>
|
||||
<th>
|
||||
<a class="modalTooltips" title="Legacy Compatibility Mode allows mounting some Foxx services written for ArangoDB 2.8 or older. This overrides the ArangoDB version specified in the service manifest. See the Foxx documentation for more information on running legacy services in ArangoDB 3.">
|
||||
<span class="arangoicon icon_arangodb_info"></span>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="upload-foxx-zip">Upload Foxx.zip</div>
|
||||
</div>
|
||||
|
@ -2711,4 +2739,4 @@ var cutByResolution = function (str) {
|
|||
</div>
|
||||
|
||||
<div id="workMonitorContent" class="innerContent">
|
||||
</div></script></head><body><nav class="navbar" style="display: none"><div class="primary"><div class="navlogo"><a class="logo big" href="#"><img class="arangodbLogo" src="img/arangodb_logo_big.png"></a><a class="logo small" href="#"><img class="arangodbLogo" src="img/arangodb_logo_small.png"></a><a class="version"><span>VERSION: </span><span id="currentVersion"></span></a></div><div class="statmenu" id="statisticBar"></div><div class="navmenu" id="navigationBar"></div></div></nav><div id="modalPlaceholder"></div><div class="bodyWrapper" style="display: none"><div class="centralRow"><div id="navbar2" class="navbarWrapper secondary"><div class="subnavmenu" id="subNavigationBar"></div></div><div class="resizecontainer contentWrapper"><div id="loadingScreen" class="loadingScreen" style="display: none"><i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw margin-bottom"></i> <span class="sr-only">Loading...</span></div><div id="content" class="centralContent"></div><footer class="footer"><div id="footerBar"></div></footer></div></div></div><div id="progressPlaceholder" style="display:none"></div><div id="spotlightPlaceholder" style="display:none"></div><div id="graphSettingsContent" style="display: none"></div><div id="offlinePlaceholder" style="display:none"><div class="offline-div"><div class="pure-u"><div class="pure-u-1-4"></div><div class="pure-u-1-2 offline-window"><div class="offline-header"><h3>You have been disconnected from the server</h3></div><div class="offline-body"><p>The connection to the server has been lost. The server may be under heavy load.</p><p>Trying to reconnect in <span id="offlineSeconds">10</span> seconds.</p><p class="animation_state"><span><button class="button-success">Reconnect now</button></span></p></div></div><div class="pure-u-1-4"></div></div></div></div><div class="arangoFrame" style=""><div class="outerDiv"><div class="innerDiv"></div></div></div><script src="libs.js?version=1471376980664"></script><script src="app.js?version=1471376980664"></script></body></html>
|
||||
</div></script></head><body><nav class="navbar" style="display: none"><div class="primary"><div class="navlogo"><a class="logo big" href="#"><img class="arangodbLogo" src="img/arangodb_logo_big.png"></a><a class="logo small" href="#"><img class="arangodbLogo" src="img/arangodb_logo_small.png"></a><a class="version"><span>VERSION: </span><span id="currentVersion"></span></a></div><div class="statmenu" id="statisticBar"></div><div class="navmenu" id="navigationBar"></div></div></nav><div id="modalPlaceholder"></div><div class="bodyWrapper" style="display: none"><div class="centralRow"><div id="navbar2" class="navbarWrapper secondary"><div class="subnavmenu" id="subNavigationBar"></div></div><div class="resizecontainer contentWrapper"><div id="loadingScreen" class="loadingScreen" style="display: none"><i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw margin-bottom"></i> <span class="sr-only">Loading...</span></div><div id="content" class="centralContent"></div><footer class="footer"><div id="footerBar"></div></footer></div></div></div><div id="progressPlaceholder" style="display:none"></div><div id="spotlightPlaceholder" style="display:none"></div><div id="graphSettingsContent" style="display: none"></div><div id="offlinePlaceholder" style="display:none"><div class="offline-div"><div class="pure-u"><div class="pure-u-1-4"></div><div class="pure-u-1-2 offline-window"><div class="offline-header"><h3>You have been disconnected from the server</h3></div><div class="offline-body"><p>The connection to the server has been lost. The server may be under heavy load.</p><p>Trying to reconnect in <span id="offlineSeconds">10</span> seconds.</p><p class="animation_state"><span><button class="button-success">Reconnect now</button></span></p></div></div><div class="pure-u-1-4"></div></div></div></div><div class="arangoFrame" style=""><div class="outerDiv"><div class="innerDiv"></div></div></div><script src="libs.js?version=1471438286364"></script><script src="app.js?version=1471438286364"></script></body></html>
|
Binary file not shown.
|
@ -30,8 +30,11 @@
|
|||
|
||||
// Install Foxx from github repo
|
||||
// info is expected to contain: "url" and "version"
|
||||
installFromGithub: function (info, mount, callback, flag) {
|
||||
installFromGithub: function (info, mount, callback, isLegacy, flag) {
|
||||
var url = arangoHelper.databaseUrl('/_admin/aardvark/foxxes/git?mount=' + encodeURIComponent(mount));
|
||||
if (isLegacy) {
|
||||
url += '&legacy=true';
|
||||
}
|
||||
if (flag !== undefined) {
|
||||
if (flag) {
|
||||
url += '&replace=true';
|
||||
|
@ -82,8 +85,11 @@
|
|||
});
|
||||
},
|
||||
|
||||
installFromZip: function (fileName, mount, callback, flag) {
|
||||
installFromZip: function (fileName, mount, callback, isLegacy, flag) {
|
||||
var url = arangoHelper.databaseUrl('/_admin/aardvark/foxxes/zip?mount=' + encodeURIComponent(mount));
|
||||
if (isLegacy) {
|
||||
url += '&legacy=true';
|
||||
}
|
||||
if (flag !== undefined) {
|
||||
if (flag) {
|
||||
url += '&replace=true';
|
||||
|
|
|
@ -116,9 +116,9 @@
|
|||
|
||||
<div class="tab-pane" id="github">
|
||||
<div>
|
||||
Download a foxx application from a public <a href="https://www.github.com">github.com</a> repository. In order to define a version please add a <a href="https://git-scm.com/book/en/v2/Git-Basics-Tagging">git tag</a> to your repository using the following format: "v1.2.3". To connect to github your username and the name of the repository are sufficient.
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
Download a foxx application from a public <a href="https://www.github.com">github.com</a> repository. In order to define a version please add a <a href="https://git-scm.com/book/en/v2/Git-Basics-Tagging">git tag</a> to your repository using the following format: "v1.2.3". To connect to github your username and the name of the repository are sufficient.
|
||||
</p>
|
||||
<table>
|
||||
<tr class="tableRow">
|
||||
<th class="collectionInfoTh">
|
||||
|
@ -136,6 +136,19 @@
|
|||
<input type="text" id="tag" value="" placeholder="master">
|
||||
</th>
|
||||
</tr>
|
||||
<tr class="tableRow">
|
||||
<th class="collectionInfoTh">
|
||||
Enable Legacy Mode:
|
||||
</th>
|
||||
<th class="collectionInfoTh">
|
||||
<input type="checkbox" id="github-app-islegacy" value="true">
|
||||
</th>
|
||||
<th>
|
||||
<a class="modalTooltips" title="Legacy Compatibility Mode allows mounting some Foxx services written for ArangoDB 2.8 or older. This overrides the ArangoDB version specified in the service manifest. See the Foxx documentation for more information on running legacy services in ArangoDB 3.">
|
||||
<span class="arangoicon icon_arangodb_info"></span>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -148,6 +161,21 @@
|
|||
This is also compatible with the download format for ZIP files on <a href="https://www.github.com">github.com</a>.
|
||||
Remember to change to a new version number in the manifest.json when uploading an update.
|
||||
</p>
|
||||
<table>
|
||||
<tr class="tableRow">
|
||||
<th class="collectionInfoTh">
|
||||
Enable Legacy Mode:
|
||||
</th>
|
||||
<th class="collectionInfoTh">
|
||||
<input type="checkbox" id="zip-app-islegacy" value="true">
|
||||
</th>
|
||||
<th>
|
||||
<a class="modalTooltips" title="Legacy Compatibility Mode allows mounting some Foxx services written for ArangoDB 2.8 or older. This overrides the ArangoDB version specified in the service manifest. See the Foxx documentation for more information on running legacy services in ArangoDB 3.">
|
||||
<span class="arangoicon icon_arangodb_info"></span>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="upload-foxx-zip">Upload Foxx.zip</div>
|
||||
</div>
|
||||
|
|
|
@ -207,24 +207,21 @@
|
|||
this._uploadData = data;
|
||||
}
|
||||
if (data && window.modalView.modalTestAll()) {
|
||||
var mount, flag;
|
||||
var mount, flag, isLegacy;
|
||||
if (this._upgrade) {
|
||||
mount = this.mount;
|
||||
flag = $('#new-app-teardown').prop('checked');
|
||||
flag = Boolean($('#new-app-teardown').prop('checked'));
|
||||
} else {
|
||||
mount = window.arangoHelper.escapeHtml($('#new-app-mount').val());
|
||||
}
|
||||
if (flag !== undefined) {
|
||||
this.collection.installFromZip(data.filename, mount, installCallback.bind(this), flag);
|
||||
} else {
|
||||
this.collection.installFromZip(data.filename, mount, installCallback.bind(this));
|
||||
}
|
||||
isLegacy = Boolean($('#zip-app-islegacy').prop('checked'));
|
||||
this.collection.installFromZip(data.filename, mount, installCallback.bind(this), isLegacy, flag);
|
||||
}
|
||||
};
|
||||
|
||||
var installFoxxFromGithub = function () {
|
||||
if (window.modalView.modalTestAll()) {
|
||||
var url, version, mount, flag;
|
||||
var url, version, mount, flag, isLegacy;
|
||||
if (this._upgrade) {
|
||||
mount = this.mount;
|
||||
flag = $('#new-app-teardown').prop('checked');
|
||||
|
@ -248,11 +245,8 @@
|
|||
return;
|
||||
}
|
||||
// send server req through collection
|
||||
if (flag !== undefined) {
|
||||
this.collection.installFromGithub(info, mount, installCallback.bind(this), flag);
|
||||
} else {
|
||||
this.collection.installFromGithub(info, mount, installCallback.bind(this));
|
||||
}
|
||||
isLegacy = Boolean($('#github-app-islegacy').prop('checked'));
|
||||
this.collection.installFromGithub(info, mount, installCallback.bind(this), isLegacy, flag);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -278,11 +272,7 @@
|
|||
license: window.arangoHelper.escapeHtml($('#new-app-license').val()),
|
||||
description: window.arangoHelper.escapeHtml($('#new-app-description').val())
|
||||
};
|
||||
if (flag !== undefined) {
|
||||
this.collection.generate(info, mount, installCallback.bind(this), flag);
|
||||
} else {
|
||||
this.collection.generate(info, mount, installCallback.bind(this));
|
||||
}
|
||||
this.collection.generate(info, mount, installCallback.bind(this), flag);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -507,10 +507,6 @@ function analyzeServerCrash (arangod, options, checkStr) {
|
|||
// / @brief periodic checks whether spawned arangod processes are still alive
|
||||
// //////////////////////////////////////////////////////////////////////////////
|
||||
function checkArangoAlive (arangod, options) {
|
||||
if (arangod.hasOwnProperty('exitStatus')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const res = statusExternal(arangod.pid, false);
|
||||
const ret = res.status === 'RUNNING';
|
||||
|
||||
|
|
|
@ -1015,6 +1015,9 @@ function _buildServiceInPath (serviceInfo, path, options) {
|
|||
installServiceFromRemote(info.url, path);
|
||||
patchManifestFile(path, info.manifest);
|
||||
}
|
||||
if (options.legacy) {
|
||||
patchManifestFile(path, {engines: {arangodb: '^2.8.0'}});
|
||||
}
|
||||
} catch (e) {
|
||||
try {
|
||||
fs.removeDirectoryRecursive(path, true);
|
||||
|
|
Loading…
Reference in New Issue