mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Add a span for the prepare_for_documents_reindexing
This commit is contained in:
		
				
					committed by
					
						
						ManyTheFish
					
				
			
			
				
	
			
			
			
						parent
						
							091bb157f1
						
					
				
				
					commit
					b81953a65d
				
			@@ -899,6 +899,11 @@ impl<'a, 'i> Transform<'a, 'i> {
 | 
				
			|||||||
    /// of the index with the attributes reordered accordingly to the `FieldsIdsMap` given as argument.
 | 
					    /// of the index with the attributes reordered accordingly to the `FieldsIdsMap` given as argument.
 | 
				
			||||||
    ///
 | 
					    ///
 | 
				
			||||||
    // TODO this can be done in parallel by using the rayon `ThreadPool`.
 | 
					    // TODO this can be done in parallel by using the rayon `ThreadPool`.
 | 
				
			||||||
 | 
					    #[tracing::instrument(
 | 
				
			||||||
 | 
					        level = "trace"
 | 
				
			||||||
 | 
					        skip(self, wtxn, settings_diff),
 | 
				
			||||||
 | 
					        target = "indexing::documents"
 | 
				
			||||||
 | 
					    )]
 | 
				
			||||||
    pub fn prepare_for_documents_reindexing(
 | 
					    pub fn prepare_for_documents_reindexing(
 | 
				
			||||||
        self,
 | 
					        self,
 | 
				
			||||||
        wtxn: &mut heed::RwTxn<'i>,
 | 
					        wtxn: &mut heed::RwTxn<'i>,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user