This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push: new 163d11afbd PHOENIX-7057 Potential bug in MetadataEndpointImpl#updateIndexState. 163d11afbd is described below commit 163d11afbd343183ccb8a7f86b5395566a0f154b Author: Istvan Toth <st...@apache.org> AuthorDate: Mon Oct 2 13:53:36 2023 +0200 PHOENIX-7057 Potential bug in MetadataEndpointImpl#updateIndexState. --- .../main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java index 7db23f4678..422eac328e 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java @@ -4066,7 +4066,7 @@ TABLE_FAMILY_BYTES, TABLE_SEQ_NUM_BYTES); byte[] count; try (RegionScanner countScanner = region.getScanner(new Scan(get))) { List<Cell> countCells = new ArrayList<>(); - scanner.next(countCells); + countScanner.next(countCells); count = Result.create(countCells) .getValue(TABLE_FAMILY_BYTES, PhoenixDatabaseMetaData.PENDING_DISABLE_COUNT_BYTES);