From cbb9f7d21485549184a2c2d5434ad43fa1ebfe8b Mon Sep 17 00:00:00 2001 From: Niketh Sabbineni Date: Mon, 31 Jul 2017 14:58:36 -0700 Subject: [PATCH] Log used flag (#4614) --- .../druid/metadata/IndexerSQLMetadataStorageCoordinator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/io/druid/metadata/IndexerSQLMetadataStorageCoordinator.java b/server/src/main/java/io/druid/metadata/IndexerSQLMetadataStorageCoordinator.java index b04504b624b..c1750101c1e 100644 --- a/server/src/main/java/io/druid/metadata/IndexerSQLMetadataStorageCoordinator.java +++ b/server/src/main/java/io/druid/metadata/IndexerSQLMetadataStorageCoordinator.java @@ -631,10 +631,10 @@ public class IndexerSQLMetadataStorageCoordinator implements IndexerMetadataStor .bind("payload", jsonMapper.writeValueAsBytes(segment)) .execute(); - log.info("Published segment [%s] to DB", segment.getIdentifier()); + log.info("Published segment [%s] to DB with used flag [%s]", segment.getIdentifier(), used); } catch (Exception e) { - log.error(e, "Exception inserting segment [%s] into DB", segment.getIdentifier()); + log.error(e, "Exception inserting segment [%s] with used flag [%s] into DB", segment.getIdentifier(), used); throw e; }