Skip to content

Commit

Permalink
chore: update comments after PM -> SPM rename (#2006)
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored Jun 5, 2024
1 parent 72dc1fa commit 2a9549b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/autocomplete/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions packages/shell-api/src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> {
this._emitDatabaseApiCall('version', {});
const info: Document = await this._runAdminCommand({
Expand All @@ -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<Document> {
this._emitDatabaseApiCall('serverBits', {});
const info: Document = await this._runAdminCommand({
Expand Down
2 changes: 1 addition & 1 deletion packages/shell-api/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a9549b

Please sign in to comment.