mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
missing logging brackets
This commit is contained in:
parent
65a0ca021d
commit
bb1dfbfa42
@ -238,7 +238,7 @@ public class LocalIndexShardGateway extends AbstractIndexShardComponent implemen
|
|||||||
in = stream.openInput(recoveringTranslogFile);
|
in = stream.openInput(recoveringTranslogFile);
|
||||||
} catch (TruncatedTranslogException e) {
|
} catch (TruncatedTranslogException e) {
|
||||||
// file is empty or header has been half-written and should be ignored
|
// file is empty or header has been half-written and should be ignored
|
||||||
logger.trace("ignoring truncation exception, the translog is either empty or half-written ([])", e.getMessage());
|
logger.trace("ignoring truncation exception, the translog is either empty or half-written ([{}])", e.getMessage());
|
||||||
}
|
}
|
||||||
while (true) {
|
while (true) {
|
||||||
if (in == null) {
|
if (in == null) {
|
||||||
@ -252,11 +252,11 @@ public class LocalIndexShardGateway extends AbstractIndexShardComponent implemen
|
|||||||
operation = stream.read(in);
|
operation = stream.read(in);
|
||||||
} catch (EOFException e) {
|
} catch (EOFException e) {
|
||||||
// ignore, not properly written the last op
|
// ignore, not properly written the last op
|
||||||
logger.trace("ignoring translog EOF exception, the last operation was not properly written", e.getMessage());
|
logger.trace("ignoring translog EOF exception, the last operation was not properly written ([{}])", e.getMessage());
|
||||||
break;
|
break;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// ignore, not properly written last op
|
// ignore, not properly written last op
|
||||||
logger.trace("ignoring translog IO exception, the last operation was not properly written", e.getMessage());
|
logger.trace("ignoring translog IO exception, the last operation was not properly written ([{}])", e.getMessage());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user