gianm commented on issue #7394: A central place explaining and linking to 
different types of segments and tasks
URL: 
https://github.com/apache/incubator-druid/issues/7394#issuecomment-548087364
 
 
   > Seems to contradict the naming of 
`IndexerMetadataStorageCoordinator.announceHistoricalSegments()`.
   
   IMO, this method is misnamed. Most other usages of "announce" refer to 
announcing availability (most notably, DataSegmentAnnouncer).
   
   > If you are going to copy these descriptions somewhere to docs, there is a 
small problem with this description: looks like "available" segments are 
_always_ "published", not "in most cases". It's the opposite which is _in most 
cases_: "published" are in most cases "available". This also uses your prior 
definition of "published", which I suggest to keep "published used" or simply 
"used" above.
   
   Available segments can also be non-published in two situations.
   
   1. Realtime segments, while they're being created. They are available and 
queryable but not published yet.
   2. Previously-published segments, for a few minutes after being marked 
unused. They immediately become non-published, but stay available until the 
Coordinator asks Historicals to drop them, and they actually do so.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to