This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new 95a98426b4c HBASE-29282 Regions are left in CLOSED state after merging
(#6971)
95a98426b4c is described below
commit 95a98426b4c4b990dfef66e2d8efaac1239bef2e
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()) {