TSFenwick commented on code in PR #12730:
URL: https://github.com/apache/druid/pull/12730#discussion_r916259595
##########
server/src/main/java/org/apache/druid/server/SegmentManager.java:
##########
@@ -265,7 +290,8 @@ public boolean loadSegment(final DataSegment segment,
boolean lazy, SegmentLazyL
segment.getVersion(),
segment.getShardSpec().createChunk(adapter)
);
- dataSourceState.addSegment(segment);
+ long numOfRows = lazy ? 0 :
adapter.asStorageAdapter().getNumRows();
Review Comment:
We will fail if cluster has lazy loading enabled
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]