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

Update tenant migration recipient currentOp output for cloners stats

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2021-03-22

      As described in this section of the design, add the following fields to the currentOp output for tenant migration recipients:

      {
              ... ...
      	
      	databases : {
      		databasesToClone: <number>
      		databasesCloned: <number>
      		<database name>: {
      			collections: <number>
      	            	clonedCollections: <number>
              	    	start: <date>
                  		end: <date>
      	            	elapsedMillis: <number>
      			<collection name>: {
      				 documentsToCopy: <number>
      			         documentsCopied: <number>
      				 bytesToCopy: <number>
      				 approxBytesCopied: <number>
      				      indexes: <number>
      				      fetchedBatches: <number>
      				      start: <date>
      				      end: <date>
      				      elapsedMillis: <number>
      				      receivedBatches: <number>
      			}
      			... // Similar objects for any other cloning collections
      		}
      		... // Similar objects for any other cloning databases
      	}
      }
      

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: