mirror of https://gitee.com/bigwinds/arangodb
fixed hard-coded `incremental` parameter in shell implementation of `syncCollection` function in replication module
This commit is contained in:
parent
94bc7ed0ad
commit
bb0051b739
|
@ -1,3 +1,10 @@
|
||||||
|
v2.7.1 (XXXX-XX-XX)
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
* fixed hard-coded `incremental` parameter in shell implementation of
|
||||||
|
`syncCollection` function in replication module
|
||||||
|
|
||||||
|
|
||||||
v2.7.0 (2015-10-09)
|
v2.7.0 (2015-10-09)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
|
|
@ -190,7 +190,6 @@ var syncCollection = function (collection, config) {
|
||||||
config.restrictType = "include";
|
config.restrictType = "include";
|
||||||
config.restrictCollections = [ collection ];
|
config.restrictCollections = [ collection ];
|
||||||
config.includeSystem = true;
|
config.includeSystem = true;
|
||||||
config.incremental = true;
|
|
||||||
var body = JSON.stringify(config);
|
var body = JSON.stringify(config);
|
||||||
|
|
||||||
var requestResult = db._connection.PUT("/_api/replication/sync", body);
|
var requestResult = db._connection.PUT("/_api/replication/sync", body);
|
||||||
|
|
|
@ -189,7 +189,6 @@ var syncCollection = function (collection, config) {
|
||||||
config.restrictType = "include";
|
config.restrictType = "include";
|
||||||
config.restrictCollections = [ collection ];
|
config.restrictCollections = [ collection ];
|
||||||
config.includeSystem = true;
|
config.includeSystem = true;
|
||||||
config.incremental = true;
|
|
||||||
var body = JSON.stringify(config);
|
var body = JSON.stringify(config);
|
||||||
|
|
||||||
var requestResult = db._connection.PUT("/_api/replication/sync", body);
|
var requestResult = db._connection.PUT("/_api/replication/sync", body);
|
||||||
|
|
Loading…
Reference in New Issue