Remove "metrics.finalDocumentsCopiedCount" and "metrics.finalBytesCopiedCount" from resharding recipient doc in 9.1+

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SPM-3918 requires the recipients to propagate their cloning metrics to the coordinator. So the metrics need to be stored in the "mutableState" field (ReshardingRecipientContext/RecipientShardEntry) instead of the "metrics". Additionally, today there is already the "mutableState.bytesCopied" field which is redundant with the "metrics.finalBytesCopiedCount" field. SERVER-98490 will make the recipients still maintain both the metrics in "metrics" and "mutableState" but in 9.1+ we should get rid of the metrics in "metrics".

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

                Created:
                Updated:
                Resolved: