mirror of https://gitee.com/bigwinds/arangodb
also execute tasks in existing databases
This commit is contained in:
parent
9607556e22
commit
985c3f4bfc
|
@ -440,7 +440,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return createSystemCollection('_graphs', {
|
return createSystemCollection('_graphs', {
|
||||||
|
@ -458,7 +458,7 @@
|
||||||
|
|
||||||
system: DATABASE_SYSTEM,
|
system: DATABASE_SYSTEM,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return createSystemCollection('_users', {
|
return createSystemCollection('_users', {
|
||||||
|
@ -616,7 +616,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return createSystemCollection('_modules', {
|
return createSystemCollection('_modules', {
|
||||||
|
@ -634,7 +634,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
// needs to be big enough for assets
|
// needs to be big enough for assets
|
||||||
|
@ -702,7 +702,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return createSystemCollection('_aqlfunctions', {
|
return createSystemCollection('_aqlfunctions', {
|
||||||
|
@ -720,7 +720,7 @@
|
||||||
|
|
||||||
system: DATABASE_SYSTEM,
|
system: DATABASE_SYSTEM,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return require('@arangodb/statistics').createStatisticsCollections();
|
return require('@arangodb/statistics').createStatisticsCollections();
|
||||||
|
@ -734,7 +734,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
const name = '_frontend';
|
const name = '_frontend';
|
||||||
|
@ -755,7 +755,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return createSystemCollection('_queues', {
|
return createSystemCollection('_queues', {
|
||||||
|
@ -773,7 +773,7 @@
|
||||||
|
|
||||||
system: DATABASE_ALL,
|
system: DATABASE_ALL,
|
||||||
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
cluster: [CLUSTER_NONE, CLUSTER_COORDINATOR_GLOBAL],
|
||||||
database: [DATABASE_INIT, DATABASE_UPGRADE],
|
database: [DATABASE_INIT, DATABASE_UPGRADE, DATABASE_EXISTING],
|
||||||
|
|
||||||
task: function () {
|
task: function () {
|
||||||
return createSystemCollection('_jobs', {
|
return createSystemCollection('_jobs', {
|
||||||
|
|
Loading…
Reference in New Issue