1
0
Fork 0

Revert "Temporarily go back to unresilient system collections."

This reverts commit bf2642c7bf.
This commit is contained in:
Max Neunhoeffer 2016-05-20 15:07:25 +02:00
parent 6b35369e93
commit a73c617da2
3 changed files with 11 additions and 11 deletions

View File

@ -53,7 +53,7 @@ var getReadableName = function(name) {
var getStorage = function() {
var c = db._collection("_apps");
if (c === null) {
c = db._create("_apps", {isSystem: true, replicationFactor: 1,
c = db._create("_apps", {isSystem: true, replicationFactor: 2,
distributeShardsLike: "_graphs"});
c.ensureIndex({ type: "hash", fields: [ "mount" ], unique: true });
}

View File

@ -55,7 +55,7 @@ function createStatisticsCollection (name) {
try {
r = db._create(name, { isSystem: true, waitForSync: false,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs" });
}
catch (err) {

View File

@ -518,7 +518,7 @@
return createSystemCollection("_graphs", {
waitForSync : false,
journalSize: 1024 * 1024,
replicationFactor: 1
replicationFactor: 2
});
}
});
@ -542,7 +542,7 @@
waitForSync : false,
shardKeys: [ "user" ],
journalSize: 4 * 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}
@ -704,7 +704,7 @@
return createSystemCollection("_sessions", {
waitForSync: false,
journalSize: 4 * 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}
@ -797,7 +797,7 @@
task: function () {
return createSystemCollection("_modules", {
journalSize: 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}
@ -821,7 +821,7 @@
// needs to be big enough for assets
return createSystemCollection("_routing", {
journalSize: 8 * 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}
@ -994,7 +994,7 @@
task: function () {
return createSystemCollection("_aqlfunctions", {
journalSize: 2 * 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}
@ -1112,7 +1112,7 @@
var result = createSystemCollection(name, {
waitForSync: false,
journalSize: 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
@ -1178,7 +1178,7 @@
task: function () {
return createSystemCollection("_queues", {
journalSize: 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}
@ -1201,7 +1201,7 @@
task: function () {
return createSystemCollection("_jobs", {
journalSize: 4 * 1024 * 1024,
replicationFactor: 1,
replicationFactor: 2,
distributeShardsLike: "_graphs"
});
}