File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -618,14 +618,14 @@ func (i *indexIniter) recover(lastID uint64) {
618
618
lastID = newLastID
619
619
signal .result <- nil
620
620
i .last .Store (newLastID )
621
- log .Debug ("Updated history index flag" , "last" , lastID )
621
+ i . log .Debug ("Updated history index flag" , "last" , lastID )
622
622
623
623
// Terminate the recovery routine once the histories are fully aligned
624
624
// with the index data, indicating that index initialization is complete.
625
- metadata := loadIndexMetadata (i .disk )
625
+ metadata := loadIndexMetadata (i .disk , i . typ )
626
626
if metadata != nil && metadata .Last == lastID {
627
627
close (i .done )
628
- log .Info ("History indexer is recovered" , "last" , lastID )
628
+ i . log .Info ("History indexer is recovered" , "last" , lastID )
629
629
return
630
630
}
631
631
You can’t perform that action at this time.
0 commit comments