From 469a179ab11176e08f1db9c6b56e723fd4d0f583 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 5 Jan 2016 15:48:35 +0100 Subject: [PATCH] remove stale comments --- .../java/org/elasticsearch/index/translog/TranslogWriter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/translog/TranslogWriter.java b/core/src/main/java/org/elasticsearch/index/translog/TranslogWriter.java index 81e5d9407a5..1434fb1cb1e 100644 --- a/core/src/main/java/org/elasticsearch/index/translog/TranslogWriter.java +++ b/core/src/main/java/org/elasticsearch/index/translog/TranslogWriter.java @@ -146,9 +146,6 @@ public class TranslogWriter extends TranslogReader { outputStream.flush(); offsetToSync = totalOffset; opsCounter = operationCounter; - // we can do this outside of the write lock but we have to protect from - // concurrent syncs - ensureOpen(); // just for kicks - the checkpoint happens or not either way try { checkpoint(offsetToSync, opsCounter, channelReference); } catch (Throwable ex) {