File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
core/src/main/java/org/elasticsearch/index/translog Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ public class Translog extends AbstractIndexShardComponent implements IndexShardC
127127 private final TranslogConfig config ;
128128 private final LongSupplier globalCheckpointSupplier ;
129129 private final String translogUUID ;
130+ private final AtomicBoolean foldingGeneration = new AtomicBoolean ();
130131
131132 /**
132133 * Creates a new Translog instance. This method will create a new transaction log unless the given {@link TranslogGeneration} is
@@ -399,8 +400,6 @@ TranslogWriter createWriter(long fileGeneration) throws IOException {
399400 return newFile ;
400401 }
401402
402- final AtomicBoolean foldingGeneration = new AtomicBoolean ();
403-
404403 /**
405404 * Adds an operation to the transaction log.
406405 *
You can’t perform that action at this time.
0 commit comments