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

Conversation

@ltran-mdb2
Copy link
Collaborator

DESCRIPTION

clarifying that estimatedCopiedByes and estimatedTotalBytes are approximated before migration and should not be used as an indicator of progress.

STAGING

https://preview-mongodbltranmdb2.gatsbyjs.io/cluster-sync/DOCSP-30174/reference/api/progress/#successful-response

JIRA

https://jira.mongodb.org/browse/DOCSP-30174

BUILD LOG

https://workerpool-boxgs.mongodbstitch.com/pages/job.html?collName=queue&jobId=65d7783e7111165982411eb5

SELF-REVIEW CHECKLIST

  • Does each file have 3-5 taxonomy facet tags?
    See the taxonomy tagging instructions and this example PR
  • Is this free of any warnings or errors in the RST?
  • Is this free of spelling errors?
  • Is this free of grammatical errors?
  • Is this free of staging / rendering issues?
  • Are all the links working?

EXTERNAL REVIEW REQUIREMENTS

What's expected of an external reviewer?

Copy link
Contributor

@jocelyn-mendez1 jocelyn-mendez1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ltran-mdb2! This LGTM!

Comment on lines 92 to 96
``mongosync`` approximates the estimated number of copied bytes
prior to migration and does not update this value during the
synchronization process. This value does not reflect changes
made to the source cluster during sync and is not an accurate
indicator of migration progress.
Copy link

@ghost ghost Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should say something like:

This value only reflects the bytes copied by the current instance of mongosync. The value does not reflect bytes copied by other instances of mongosync and can become larger than estimatedTotalBytes due to retried operations. This value is not an accurate indicator of migration progress.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your feedback! I added a line about the value comparison. Regarding "This value only reflects the bytes copied by the current instance of mongosync", the table item already states that the value is only the number of bytes copied by this mongosync." I'm hesitant to restate this due to redundancy but do you think this aspect needs to be emphasized more than it currently is?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh apologies, I didn't see that the top part of the description for estimatedCopiedBytes. Then there is no need to restate "This value only reflects the bytes copied by the current instance of mongosync".

But the following section is incorrect and should be removed. mongosync does in fact compute the estimated number of copied bytes during the migration by adding up the size of documents that it copies. This value will reflect changes made to the source cluster during sync and can be higher than estimatedTotalBytes if documents are added to the source or lower if documents are deleted from the source.

         mongosync approximates the estimated number of copied bytes
         prior to migration and does not update this value during the
         synchronization process. This value does not reflect changes
         made to the source cluster during sync and is not an accurate
         indicator of migration progress.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries, just made your suggested change!

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correction to estimatedCopiedBytes

@ltran-mdb2 ltran-mdb2 requested a review from a user February 22, 2024 21:47
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jeff-allen-mongo jeff-allen-mongo merged commit 01bc588 into mongodb:master Feb 26, 2024
ltran-mdb2 added a commit to ltran-mdb2/docs-cluster-to-cluster-sync that referenced this pull request Feb 27, 2024
…ongodb#268)

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 tech edit

* DOCSP-30174 tech edit

* DOCSP-30174 tech edits

* DOCSP-30174 tech edits
jeff-allen-mongo pushed a commit that referenced this pull request Feb 27, 2024
) (#270)

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 clarifying estimatedCopiedByes and estimatedTotalBytes

* DOCSP-30174 tech edit

* DOCSP-30174 tech edit

* DOCSP-30174 tech edits

* DOCSP-30174 tech edits
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants