Skip to content

Commit 2f68ab1

Browse files
authored
Remove old todo from BulkOperation (elastic#132654)
Removes an old todo directive from long back. No functional changes.
1 parent 30024e1 commit 2f68ab1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/main/java/org/elasticsearch/action/bulk/BulkOperation.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,6 @@ private IndexDocFailureStoreStatus processFailure(BulkItemRequest bulkItemReques
615615
* @return a data stream if the write request points to a data stream, or {@code null} if it does not
616616
*/
617617
private static DataStream getRedirectTargetCandidate(DocWriteRequest<?> docWriteRequest, ProjectMetadata project) {
618-
// PRTODO: We could check for cluster feature here instead
619618
// If there is no index abstraction, then the request is using a pattern of some sort, which data streams do not support
620619
IndexAbstraction ia = project.getIndicesLookup().get(docWriteRequest.index());
621620
return DataStream.resolveDataStream(ia, project);

0 commit comments

Comments
 (0)