yurongfu opened a new pull request, #8787:
URL: https://github.com/apache/hbase/pull/8787

   This PR fixes stale namespace region quota accounting after truncating a 
table without preserving its splits.
   
   After truncation, the table's old regions are replaced by new regions, but 
the cached namespace region count may still reflect the old region count. This 
can cause subsequent valid region operations, such as splitting the replacement 
region, to be rejected incorrectly.
   
   The fix updates the namespace region quota count based on the primary 
regions of the replacement table after they have been added to Meta and before 
the table is enabled.
   
   A regression test is added to verify that the quota count is corrected after 
truncation and that a subsequent split succeeds when it is within the quota 
limit.
   
   JIRA: HBASE-30483


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to