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

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


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

commit 925eace5e5f29761608441d527179a9354fc2348
Author: Duo Zhang <[email protected]>
AuthorDate: Thu May 8 17:22:33 2025 +0800

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

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java
index 4d506365f23..5987fc7537b 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java
@@ -415,7 +415,7 @@ public class RegionStateStore {
   public void mergeRegions(RegionInfo child, RegionInfo[] parents, ServerName 
serverName,
     TableDescriptor htd) throws IOException {
     boolean globalScope = htd.hasGlobalReplicationScope();
-    long time = HConstants.LATEST_TIMESTAMP;
+    long time = EnvironmentEdgeManager.currentTime();
     List<Mutation> mutations = new ArrayList<>();
     List<RegionInfo> replicationParents = new ArrayList<>();
     for (RegionInfo ri : parents) {

Reply via email to