Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99067

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

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

      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 Unassigned
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: