Browse Source

Fix global checkpoint sync log message

The log message here is incorrect, a failure here is occuring on the
post-operation global checkpoint sync, not the background sync. This
commit fixes the log message.
Jason Tedor 8 years ago
parent
commit
530d80fdc1

+ 1 - 1
core/src/main/java/org/elasticsearch/action/support/replication/TransportReplicationAction.java

@@ -387,7 +387,7 @@ public abstract class TransportReplicationAction<
                             if (ExceptionsHelper.unwrap(e, AlreadyClosedException.class, IndexShardClosedException.class) == null) {
                                 logger.info(
                                         new ParameterizedMessage(
-                                                "{} failed to execute background global checkpoint sync",
+                                                "{} failed to execute post-operation global checkpoint sync",
                                                 shard.shardId()),
                                         e);
                                 // intentionally swallow, a missed global checkpoint sync should not fail this operation