This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new f6f7bc4ace1 SOLR-18106: Un-deprecate getCloudDescriptor, its required
for Coordinator mode (#4132)
f6f7bc4ace1 is described below
commit f6f7bc4ace16465e6fb47765183bb4cf4ebbe62f
Author: Eric Pugh <[email protected]>
AuthorDate: Sun Feb 15 09:57:50 2026 -0500
SOLR-18106: Un-deprecate getCloudDescriptor, its required for Coordinator
mode (#4132)
Co-authored-by: David Smiley <[email protected]>
---
solr/core/src/java/org/apache/solr/request/SolrQueryRequest.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/solr/core/src/java/org/apache/solr/request/SolrQueryRequest.java
b/solr/core/src/java/org/apache/solr/request/SolrQueryRequest.java
index dc9d9b38fdc..a0ed740b928 100644
--- a/solr/core/src/java/org/apache/solr/request/SolrQueryRequest.java
+++ b/solr/core/src/java/org/apache/solr/request/SolrQueryRequest.java
@@ -187,10 +187,7 @@ public interface SolrQueryRequest extends AutoCloseable {
return core == null ? null : core.getCoreContainer();
}
- /**
- * @deprecated use getCore().getCoreDescriptor().getCloudDescriptor()
- */
- @Deprecated
+ /** The CloudDescriptor, which may be different from that of the core on the
coordinator. */
default CloudDescriptor getCloudDescriptor() {
return getCore().getCoreDescriptor().getCloudDescriptor();
}