Slackbot
03/27/2023, 9:04 PMSergio Ferragut
03/27/2023, 9:12 PMKai Sun
03/27/2023, 9:16 PMSergio Ferragut
03/27/2023, 10:36 PMKai Sun
03/27/2023, 10:41 PMSergio Ferragut
03/27/2023, 10:52 PMVadim
03/28/2023, 12:13 AMVadim
03/28/2023, 12:15 AMVadim
03/28/2023, 12:17 AMVadim
03/28/2023, 12:19 AMVadim
03/28/2023, 12:20 AMCOUNT(*) out of the boxVadim
03/28/2023, 12:24 AMVadim
03/28/2023, 12:26 AMVadim
03/28/2023, 12:28 AMKai Sun
03/28/2023, 6:32 PMVadim
03/28/2023, 7:13 PMKai Sun
03/28/2023, 8:31 PMSergio Ferragut
03/28/2023, 8:31 PMKai Sun
03/28/2023, 8:34 PMVadim
03/28/2023, 8:35 PMdruid.indexer.task.restoreTasksOnRestart=true set then it will pick up where it left before as I understand itKai Sun
03/28/2023, 8:37 PMVadim
03/28/2023, 8:38 PMVadim
03/28/2023, 8:40 PMVadim
03/28/2023, 8:41 PMVadim
03/28/2023, 8:42 PMKai Sun
03/28/2023, 8:45 PMKai Sun
03/28/2023, 8:48 PMSergio Ferragut
03/28/2023, 8:56 PMKai Sun
03/28/2023, 8:59 PMSergio Ferragut
03/28/2023, 9:12 PMKai Sun
03/28/2023, 9:25 PMVadim
03/28/2023, 9:27 PMVadim
03/28/2023, 9:28 PMKai Sun
03/28/2023, 9:35 PMI do not understand the mechanism you are proposing who will set the hint?The idea is simple (though may not be the most elegant). When a query is served by a peon, the kafka offsets of the peon is returned. Next time the query is issued again, the previous offsets is also used as the input for the peons. If the serving peon see an offset later then the current offset it is consuming, it should wait (or fail the query) till it catch up. This is the same idea of guaranteeing exactly-once ingestion from Kafka topics. To achieve exactly once, Druid associate the kafka offset with the segment in the meta store database. (Actually, I did not dig the code to confirm this. But this is just a common technic almost all the distributed system use with Kafka).
Vadim
03/28/2023, 9:36 PMVadim
03/28/2023, 9:36 PMKai Sun
03/28/2023, 9:37 PMAlso are you saying that you feel like all the mitigation measures outlined above are not enough for your use case?Right, for some use cases, like alerting, if you can go back in time even once in a while, you own a lot of explaining to the user.
Kai Sun
03/28/2023, 9:39 PMyou should add it to the GH issueI am kind of new to the Druid open source community. Can you illustrate what does "GH" mean here? I just created an issue as https://github.com/apache/druid/issues/13994
Vadim
03/28/2023, 9:40 PMVadim
03/28/2023, 9:41 PMKai Sun
03/28/2023, 9:45 PM