mirror of https://github.com/apache/druid.git
clarify and fixup typos related to unused segments in docs and javadocs. (#15498)
This commit is contained in:
parent
ae6893edc3
commit
f4949afdd7
|
@ -163,7 +163,7 @@ segment is unused, or is unknown, a 404 response is returned.
|
|||
|
||||
`GET /druid/coordinator/v1/metadata/datasources/{dataSourceName}/segments/{segmentId}?includeUnused=true`
|
||||
|
||||
Returns full segment metadata for a specific segment as stored in the metadata store. If the is unknown, a 404 response
|
||||
Returns full segment metadata for a specific segment as stored in the metadata store. If it is unknown, a 404 response
|
||||
is returned.
|
||||
|
||||
`GET /druid/coordinator/v1/metadata/datasources/{dataSourceName}/segments`
|
||||
|
|
|
@ -433,11 +433,12 @@ public interface IndexerMetadataStorageCoordinator
|
|||
/**
|
||||
* Retrieve the segment for a given id from the metadata store. Return null if no such segment exists
|
||||
* <br>
|
||||
* If includeUnused is set, this also returns unused segments. Unused segments could be deleted by a kill task at any
|
||||
* time and might lead to unexpected behaviour. This option exists mainly to provide a consistent view of the metadata,
|
||||
* for example, in calls from MSQ controller and worker and would generally not be requrired.
|
||||
* If {@code includeUnused} is set, the segment {@code id} retrieval should also consider the set of unused segments
|
||||
* in the metadata store. Unused segments could be deleted by a kill task at any time and might lead to unexpected behaviour.
|
||||
* This option exists mainly to provide a consistent view of the metadata, for example, in calls from MSQ controller
|
||||
* and worker and would generally not be required.
|
||||
*
|
||||
* @param id The segment id
|
||||
* @param id The segment id to retrieve
|
||||
*
|
||||
* @return DataSegment used segment corresponding to given id
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue