Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Artoul committed Sep 17, 2018
1 parent f541338 commit ce64dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dbnode/storage/bootstrap/bootstrapper/fs/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (s *fileSystemSource) enqueueReaders(
// Close the readers ch if and only if all readers are enqueued
defer close(readersCh)

indexIncrementalBootstrap := run == bootstrapIndexRunType && runOpts.IncrementalConfig().Enabled
indexIncrementalBootstrap := run == bootstrapIndexRunType && runOpts.PersistConfig().Enabled
if !indexIncrementalBootstrap {
// Normal run, open readers
s.enqueueReadersGroupedByBlockSize(ns, run, runOpts,
Expand Down Expand Up @@ -594,7 +594,7 @@ func (s *fileSystemSource) loadShardReadersDataIntoShardResult(
}
}

incremental := runOpts.IncrementalConfig().Enabled
incremental := runOpts.PersistConfig().Enabled
noneRemaining := remainingRanges.IsEmpty()
if run == bootstrapIndexRunType && incremental && noneRemaining {
err := s.incrementalBootstrapIndexSegment(ns, requestedRanges, runResult)
Expand Down

0 comments on commit ce64dff

Please sign in to comment.