This is an automated email from the ASF dual-hosted git repository. ctubbsii 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 6099e81c89 Properly include last tablet that overlaps ample range (#3051) 6099e81c89 is described below commit 6099e81c891195caa7f54a4f4e96cf9fd10afef0 Author: Keith Turner <ktur...@apache.org> AuthorDate: Thu Oct 27 06:20:06 2022 +0100 Properly include last tablet that overlaps ample range (#3051) This fixes #3050 --- .../java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java b/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java index 87dd20a5a4..443b05ca58 100644 --- a/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java +++ b/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java @@ -359,7 +359,7 @@ public class TabletsMetadata implements Iterable<TabletMetadata>, AutoCloseable public Options overlapping(Text startRow, boolean startInclusive, Text endRow) { var metaStartRow = TabletsSection.encodeRow(tableId, startRow == null ? new Text("") : startRow); - var metaEndRow = TabletsSection.encodeRow(tableId, endRow); + var metaEndRow = TabletsSection.encodeRow(tableId, null); this.range = new Range(metaStartRow, startRow == null ? true : startInclusive, metaEndRow, true); this.endRow = endRow;