1
0
Fork 0

Create empty _system database.

This commit is contained in:
Max Neunhoeffer 2014-01-07 11:32:40 +01:00
parent e21431cbd4
commit 67d71cb6bf
1 changed files with 9 additions and 0 deletions

View File

@ -47,12 +47,18 @@ if [ "$1" == "init" ] ; then
set Target/DBServers
set Target/Coordinators
set Target/Collections
set Target/Collections/_system
set Target/Collections/_system/Version 1
set Target/Collections/_system/Lock UNLOCKED
set Target/ShardLocation
set Plan/Version 1
set Plan/DBServers
set Plan/Coordinators
set Plan/Collections
set Plan/Collections/_system
set Plan/Collections/_system/Version 1
set Plan/Collections/_system/Lock UNLOCKED
set Plan/ShardLocation
set Current/Version 1
@ -60,6 +66,9 @@ if [ "$1" == "init" ] ; then
set Current/DBServers
set Current/Coordinators
set Current/Collections
set Current/Collections/_system
set Current/Collections/_system/Version 1
set Current/Collections/_system/Lock UNLOCKED
set Current/ShardLocation
set Current/ShardsCopied