From 2a9549ba26419b4703e062f49159839cdc57e7da Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 5 Jun 2024 17:28:52 +0200 Subject: [PATCH] chore: update comments after PM -> SPM rename (#2006) --- packages/autocomplete/src/index.ts | 2 +- packages/shell-api/src/database.ts | 4 ++-- packages/shell-api/src/helpers.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/autocomplete/src/index.ts b/packages/autocomplete/src/index.ts index 241cc87a6..1b6f86be4 100644 --- a/packages/autocomplete/src/index.ts +++ b/packages/autocomplete/src/index.ts @@ -306,7 +306,7 @@ function isAcceptable( } else { isAcceptableVersion = !entry[versionKey] || - // TODO: when https://jira.mongodb.org/browse/PM-2327 is done we can rely on server_version being present + // TODO: when https://jira.mongodb.org/browse/SPM-2327 is done we can rely on server_version being present !connectionInfo?.server_version || semver.gte(connectionInfo.server_version, entry[versionKey] as string); } diff --git a/packages/shell-api/src/database.ts b/packages/shell-api/src/database.ts index 74d465fdb..9f0f94373 100644 --- a/packages/shell-api/src/database.ts +++ b/packages/shell-api/src/database.ts @@ -1126,7 +1126,7 @@ export default class Database extends ShellApiWithMongoClass { } @returnsPromise - @apiVersions([]) // TODO: Update this after https://jira.mongodb.org/browse/PM-2327 + @apiVersions([]) // TODO: Update this after https://jira.mongodb.org/browse/SPM-2327 async version(): Promise { this._emitDatabaseApiCall('version', {}); const info: Document = await this._runAdminCommand({ @@ -1144,7 +1144,7 @@ export default class Database extends ShellApiWithMongoClass { } @returnsPromise - @apiVersions([]) // TODO: Maybe update this after https://jira.mongodb.org/browse/PM-2327 + @apiVersions([]) // TODO: Maybe update this after https://jira.mongodb.org/browse/SPM-2327 async serverBits(): Promise { this._emitDatabaseApiCall('serverBits', {}); const info: Document = await this._runAdminCommand({ diff --git a/packages/shell-api/src/helpers.ts b/packages/shell-api/src/helpers.ts index 85bd1d453..be5f74736 100644 --- a/packages/shell-api/src/helpers.ts +++ b/packages/shell-api/src/helpers.ts @@ -98,7 +98,7 @@ export const onlyShardedCollectionsInConfigFilter = { // dropped is gone on newer server versions, so check for !== true // rather than for === false (SERVER-51880 and related) dropped: { $ne: true }, - // unsplittable introduced in PM-3364 to mark unsharded collections + // unsplittable introduced in SPM-3364 to mark unsharded collections // that are still being tracked in the catalog unsplittable: { $ne: true }, } as const;