AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

abortReshardCollection(데이터베이스 명령)

abortReshardCollection

버전 5.0의 신규 항목입니다.

During a resharding operation, you can abort the operation with the abortReshardCollection command.

You can abort a resharding operation at any point until the commit phase. If the resharding operation has reached the commit phase before you run the abortReshardCollection command, the command returns an error.

팁

In mongosh, this command can also be run through the sh.abortReshardCollection() helper method.

Helper methods are convenient for mongosh users, but they may not return the same level of information as database commands. In cases where the convenience is not needed or the additional return fields are required, use the database command.

이 명령은 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.

  • MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud

참고

This command is supported in all MongoDB Atlas clusters. For information on Atlas support for all commands, see Unsupported Commands.

명령은 다음과 같은 구문을 가집니다:

db.adminCommand(
{
abortReshardCollection: "<database>.<collection>"
}
)

다음 예시에서는 sales.orders 컬렉션에서 실행 중인 리샤딩 작업 을 중단합니다.

db.adminCommand({
abortReshardCollection: "sales.orders"
})
이 페이지 평가하기

이 페이지의 내용