File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,11 @@ Sharding Parameters
192192To sync from a replica set to a sharded cluster, set the 
193193``sharding`` option to shard collections on the destination cluster.
194194
195+ ``mongosync`` throws an error if the ``sharding`` option is not set when
196+ syncing from a replica set to a sharded cluster. ``mongosync`` also
197+ throws an error if the ``sharding`` option is set with any other
198+ configuration.
199+ 
195200The ``sharding`` option has the following parameters:
196201
197202.. list-table::
@@ -240,11 +245,6 @@ The ``sharding`` option has the following parameters:
240245
241246       For more information, see :ref:`shard-key`.
242247
243- ``mongosync`` throws an error if the ``sharding`` option is not set when
244- syncing from a replica set to a sharded cluster.  ``mongosync`` also
245- throws an error if the ``sharding`` option is set with any other
246- configuration.
247- 
248248Response
249249--------
250250
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments