Skip to content

Commit

Permalink
[BREAK] Remove old migrations up to version 2.4.14 (#23277)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Sep 23, 2021
1 parent 249105d commit 74e0319
Show file tree
Hide file tree
Showing 249 changed files with 473 additions and 6,561 deletions.
4 changes: 2 additions & 2 deletions app/metrics/server/lib/collectMetrics.js
Expand Up @@ -8,7 +8,7 @@ import { Meteor } from 'meteor/meteor';
import { Facts } from 'meteor/facts-base';

import { Info, getOplogInfo } from '../../../utils/server';
import { Migrations } from '../../../migrations/server';
import { getControl } from '../../../../server/lib/migrations';
import { settings } from '../../../settings/server';
import { Statistics } from '../../../models/server';
import { SystemLogger } from '../../../../server/lib/logger/system';
Expand Down Expand Up @@ -48,7 +48,7 @@ const setPrometheusData = async () => {
}

metrics.version.set({ version: statistics.version }, 1);
metrics.migration.set(Migrations._getControl().version);
metrics.migration.set(getControl().version);
metrics.instanceCount.set(statistics.instanceCount);
metrics.oplogEnabled.set({ enabled: statistics.oplogEnabled }, 1);

Expand Down
1 change: 0 additions & 1 deletion app/migrations/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions app/migrations/server/index.js

This file was deleted.

8 changes: 0 additions & 8 deletions app/migrations/server/migrations.d.ts

This file was deleted.

0 comments on commit 74e0319

Please sign in to comment.