Skip to content

Commit

Permalink
Move field
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed Mar 16, 2017
1 parent fb00dd3 commit 0d5e6e2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public class Translog extends AbstractIndexShardComponent implements IndexShardC
private final TranslogConfig config;
private final LongSupplier globalCheckpointSupplier;
private final String translogUUID;
private final AtomicBoolean foldingGeneration = new AtomicBoolean();

/**
* Creates a new Translog instance. This method will create a new transaction log unless the given {@link TranslogGeneration} is
Expand Down Expand Up @@ -399,8 +400,6 @@ TranslogWriter createWriter(long fileGeneration) throws IOException {
return newFile;
}

final AtomicBoolean foldingGeneration = new AtomicBoolean();

/**
* Adds an operation to the transaction log.
*
Expand Down

0 comments on commit 0d5e6e2

Please sign in to comment.