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

sh.abortReshardCollection() (mongosh 메서드)

sh.abortReshardCollection(namespace)

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

During a resharding operation, you can abort the operation with the sh.abortReshardCollection() method.

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 sh.abortReshardCollection() method, the method returns an error.

중요

Mongo쉬 방법

This page documents a mongosh method. This is not the documentation for database commands or language-specific drivers, such as Node.js.

데이터베이스 명령에 대해서는 abortReshardCollection 명령을 참조하십시오.

MongoDB API 드라이버의 경우 언어별 MongoDB 드라이버 설명서를 참조하세요.

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

  • MongoDB Atlas: 클라우드에서의 MongoDB 배포를 위한 완전 관리형 서비스

중요

이 명령은 M0 및 Flex 클러스터에서 지원되지 않습니다. 자세한 내용은 지원되지 않는 명령을 참조하세요.

The sh.abortReshardCollection() method has the following syntax:

sh.abortReshardCollection( <namespace> )

The sh.abortReshardCollection() method takes the following parameter:

Parameter
유형
설명

문자열

"<database>.<collection>" 형식으로 샤딩할 컬렉션의 이름입니다.

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

sh.abortReshardCollection("sales.orders")
이 페이지 평가하기

이 페이지의 내용