PANKAJ KUMAR
04/30/2024, 6:49 PMingest/kafka/lag) this metric will return the lag across all partitions. If we have ingestion replica enabled we take maximum offset consumed across all replica for each partition and use that to calculate lag. But sometime what happen is one task is making good progress but the other replica is not. So, I am planning to add a new metric to expose min lag(take minimum across all replica). So that we can monitor the difference between ingestion task replica. Any opinions? Thanks
cc: @Abhishek Agarwal @Amatya Avadhanula @XavierIgor Berman
04/30/2024, 7:59 PMingest/kafka/partitionLag is not enough for you?PANKAJ KUMAR
04/30/2024, 10:56 PMIgor Berman
05/01/2024, 5:40 AMAmatya Avadhanula
05/01/2024, 5:42 AMAmatya Avadhanula
05/01/2024, 5:45 AMPANKAJ KUMAR
05/02/2024, 4:18 AMIf you are concerned about all the replicas making progress, you would also have to add taskId as a dimension to the metricI think without taskID also its fine. As, once we know for one of the partition we are not making progress on one of the replica one can check on druid UI to find the respective taskId and Indexer.
PANKAJ KUMAR
05/02/2024, 4:27 AMI think Pankaj’s concern is to have similar query results across all replicas to the maximum extent possibleThat’s one and the other issue is it can also trigger the multiple checkpoint issue if the task able to reach the
maxTotalRows.
https://github.com/apache/druid/issues/16293Amatya Avadhanula
05/02/2024, 4:29 AMPANKAJ KUMAR
05/02/2024, 8:10 AMAmatya Avadhanula
05/02/2024, 8:41 AMAmatya Avadhanula
05/02/2024, 8:41 AMPANKAJ KUMAR
05/02/2024, 8:54 AMAmatya Avadhanula
05/02/2024, 8:56 AMAmatya Avadhanula
05/02/2024, 9:02 AMAmatya Avadhanula
05/02/2024, 9:03 AMPANKAJ KUMAR
05/03/2024, 5:46 AMPANKAJ KUMAR
05/10/2024, 6:54 AM