TSFenwick commented on code in PR #12730:
URL: https://github.com/apache/druid/pull/12730#discussion_r916953960


##########
server/src/main/java/org/apache/druid/server/SegmentManager.java:
##########
@@ -265,7 +293,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:
   tested tombstones and made changes to actually count them in the distribution



-- 
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]

Reply via email to