This is an automated email from the ASF dual-hosted git repository. dlmarion pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push: new 93e4862a76 Clarified return value in TabletInformation.getLocation javadoc (#4967) 93e4862a76 is described below commit 93e4862a762c0e7c5472d3196e2b1d7e1525a005 Author: Dave Marion <dlmar...@apache.org> AuthorDate: Thu Oct 10 08:15:58 2024 -0400 Clarified return value in TabletInformation.getLocation javadoc (#4967) Closes #4937 Co-authored-by: Keith Turner <ktur...@apache.org> --- .../org/apache/accumulo/core/client/admin/TabletInformation.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/accumulo/core/client/admin/TabletInformation.java b/core/src/main/java/org/apache/accumulo/core/client/admin/TabletInformation.java index 3dd9667179..f19825f9b1 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/admin/TabletInformation.java +++ b/core/src/main/java/org/apache/accumulo/core/client/admin/TabletInformation.java @@ -59,7 +59,10 @@ public interface TabletInformation { String getTabletState(); /** - * @return the Location of the tablet as a String. + * @return the Location of the tablet as a String or empty if the location in the TabletMetadata + * does not exist. When not empty, the String will be of the form + * "{@code <location type>:<host>:<port>}", where the location type is one of + * {@code CURRENT} or {@code FUTURE} */ Optional<String> getLocation();