This is an automated email from the ASF dual-hosted git repository.
jlli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new e3d41db Add log for reloading single segment (#5622)
e3d41db is described below
commit e3d41dbac6e809b4b094057e0e70729888af316b
Author: Jialiang Li <[email protected]>
AuthorDate: Fri Jun 26 11:12:05 2020 -0700
Add log for reloading single segment (#5622)
Co-authored-by: Jack Li(Analytics Engineering) <[email protected]>
---
.../org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java
b/pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java
index 087a11b..272736f 100644
---
a/pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java
+++
b/pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java
@@ -161,6 +161,7 @@ public class HelixInstanceDataManager implements
InstanceDataManager {
LOGGER.info("Reloading single segment: {} in table: {}", segmentName,
tableNameWithType);
SegmentMetadata segmentMetadata = getSegmentMetadata(tableNameWithType,
segmentName);
if (segmentMetadata == null) {
+ LOGGER.info("Segment metadata is null. Skip reloading segment: {} in
table: {}", segmentName, tableNameWithType);
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]