소스 클러스터 영구 쿼리 설정(PQS)을 사용하는 경우 동기화 완료하려면 해당 설정을 대상 클러스터 로 수동으로 마이그레이션 해야 합니다.
mongosync checks for PQS during initialization and the cutover process. If mongosync finds PQS on the source cluster during cutover, Mongosync shows a warning. Use the following procedure to address the warning and migrate your PQS to your destination cluster.
단계
1
2
대상 클러스터 로 PQS를 가져옵니다.
For each query setting that you want to migrate, use setQuerySettings to apply that setting to your destination cluster.
쿼리 설정에 representativeQuery 필드 값이 포함된 경우 해당 필드 값을 setQuerySettings 값으로 사용합니다.
그렇지 않으면 querySettings 배열 의 queryShapeHash 필드 값을 setQuerySettings 값으로 사용합니다.