This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 88f1f3ad6f2 HBASE-29282 Regions are left in CLOSED state after merging 
(#6971)
88f1f3ad6f2 is described below

commit 88f1f3ad6f2825dcc2edecf935ac9c629073b8d0
Author: Duo Zhang <[email protected]>
AuthorDate: Fri May 9 23:00:25 2025 +0800

    HBASE-29282 Regions are left in CLOSED state after merging (#6971)
    
    Signed-off-by: Reid Chan <[email protected]>
    (cherry picked from commit c3528348f5240f5a7200c6303923c6c212ebe681)
---
 .../src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
index efd5a83b9eb..2ef70daab0a 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
@@ -1556,7 +1556,7 @@ public class MetaTableAccessor {
   public static void mergeRegions(Connection connection, RegionInfo 
mergedRegion,
     Map<RegionInfo, Long> parentSeqNum, ServerName sn, int regionReplication) 
throws IOException {
     try (Table meta = getMetaHTable(connection)) {
-      long time = HConstants.LATEST_TIMESTAMP;
+      long time = EnvironmentEdgeManager.currentTime();
       List<Mutation> mutations = new ArrayList<>();
       List<RegionInfo> replicationParents = new ArrayList<>();
       for (Map.Entry<RegionInfo, Long> e : parentSeqNum.entrySet()) {

Reply via email to