tonyguo2022 commented on issue #763:
URL: https://github.com/apache/lucenenet/issues/763#issuecomment-1319318903

   @rclabo our debug shows indexWriter.Commit call ReadBytes in same thread:
   
   ```
   >    MetadataIndexFileInput.ReadBytes(byte[] b, int offset, int len) Line 47 
C#
        Lucene.Net.Store.DataOutput.CopyBytes(Lucene.Net.Store.DataInput input, 
long numBytes)  Unknown
        Lucene.Net.Store.Directory.Copy(Lucene.Net.Store.Directory to, string 
src, string dest, Lucene.Net.Store.IOContext context)     Unknown
        
Lucene.Net.Store.TrackingDirectoryWrapper.Copy(Lucene.Net.Store.Directory to, 
string src, string dest, Lucene.Net.Store.IOContext context)      Unknown
        
Lucene.Net.Index.IndexWriter.CreateCompoundFile(Lucene.Net.Util.InfoStream 
infoStream, Lucene.Net.Store.Directory directory, Lucene.Net.Index.CheckAbort 
checkAbort, Lucene.Net.Index.SegmentInfo info, Lucene.Net.Store.IOContext 
context)     Unknown
        
Lucene.Net.Index.DocumentsWriterPerThread.SealFlushedSegment(Lucene.Net.Index.DocumentsWriterPerThread.FlushedSegment
 flushedSegment)   Unknown
        Lucene.Net.Index.DocumentsWriterPerThread.Flush()       Unknown
        
Lucene.Net.Index.DocumentsWriter.DoFlush(Lucene.Net.Index.DocumentsWriterPerThread
 flushingDWPT)        Unknown
        
Lucene.Net.Index.DocumentsWriter.FlushAllThreads(Lucene.Net.Index.IndexWriter 
indexWriter)      Unknown
        Lucene.Net.Index.IndexWriter.PrepareCommitInternal()    Unknown
        Lucene.Net.Index.IndexWriter.CommitInternal()   Unknown
        Lucene.Net.Index.IndexWriter.Commit()   Unknown
   
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to