Make sure resharding recipients can restore 'approxDocumentsToCopy' and 'approxBytesToCopy' metrics after failover

XMLWordPrintableJSON

    • Cluster Scalability
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the ReshardingRecipientService doesn't persist the 'approxDocumentsToCopy' and 'approxBytesToCopy' metrics in the recipient state document when it gets the cloning details from the coordinator (it only persists the 'cloneTimestamp'). The recipient state document is used for restoring the 'approxDocumentsToCopy' and 'approxBytesToCopy' metrics so currently 'approxDocumentsToCopy' and 'approxBytesToCopy' metrics are lost after failover. 

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: