Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit dd9d3bb

Browse files
committed
feedback
1 parent 15a0a68 commit dd9d3bb

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

source/reference/verification.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ source to the destination cluster.
9898
comparing documents, views, and indexes to confirm the
9999
sync was successful.
100100

101-
* - :ref:`Custom or Manual Verification <c2c-custom-manual-verification>`
101+
* - :ref:`Verifying Data with Custom Scripts <c2c-custom-manual-verification>`
102102
- Different types of data require different methods of verification. You can
103103
can use custom or manual verification to verify :ref:`documents <c2c-document-comparison>`,
104104
:ref:`indexes <c2c-index-comparison>`, :ref:`metadata <c2c-metadata-comparison>`,
@@ -114,7 +114,7 @@ application workload and the complexity of the data.
114114
Use Document Counts </reference/verification/count>
115115
Use Hash Comparison </reference/verification/hash>
116116
Use Migration Verifier </reference/verification/verifier>
117-
Custom or Manual Verification </reference/verification/custom-manual>
117+
Verifying Data with Custom Scripts </reference/verification/custom-manual>
118118

119119
Learn More
120120
----------

source/reference/verification/custom-manual.txt

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _c2c-custom-manual-verification:
22

33
==================================
4-
Custom or Manual Verification Page
4+
Verifying Data with Custom Scripts
55
==================================
66

77
.. default-domain:: mongodb
@@ -16,40 +16,38 @@ Custom or Manual Verification Page
1616
:depth: 1
1717
:class: singlecol
1818

19+
You can write a script to query your source cluster and compare the documents,
20+
indexes, collections, metadata, and views with the destination cluster.
21+
1922
.. _c2c-document-comparison:
2023

21-
Document Comparison
24+
Comparing Documents
2225
-------------------
2326

24-
You can verify sync by comparing documents on the source and destination
25-
clusters.
26-
27-
Write a script that queries collections on the source cluster and then checks
28-
that the correct documents, indexes, collections, metadata, and views exist with
29-
the same values on the destination cluster.
27+
You can verify sync by comparing documents on the source and destination clusters.
3028

3129
Before you can verify data transfer with this method, ``mongosync`` must be in
3230
the ``COMMITTED`` state.
3331

3432
.. _c2c-index-comparison:
3533

36-
Index Comparison
37-
----------------
34+
Comparing Indexes
35+
-----------------
3836

39-
To verify the transfer of indexes, run the :method:`db.collection.getIndexes`
40-
method on the source and destination clusters and compare the results.
37+
To verify the transfer of indexes, run :method:`db.collection.getIndexes`
38+
on the source and destination clusters and compare the results.
4139

4240
.. _c2c-metadata-comparison:
4341

44-
Metadata Comparison
45-
-------------------
42+
Comparing Metadata
43+
------------------
4644

47-
To verify the transfer of metadata, run the :method:`db.getCollectionInfos` method
45+
To verify the transfer of metadata, run :method:`db.getCollectionInfos`
4846
on the source and destination clusters and compare the results.
4947

5048
.. _c2c-shardkey-comparison:
5149

52-
Shard Key Comparison
50+
Comparing Shard Keys
5351
--------------------
5452

5553
To verify the transfer of shard keys to a synced collection, run a query on the

0 commit comments

Comments
 (0)