smengcl commented on code in PR #8141:
URL: https://github.com/apache/ozone/pull/8141#discussion_r2069983825
##########
hadoop-hdds/framework/src/test/java/org/apache/hadoop/hdds/utils/db/TestRDBStore.java:
##########
@@ -151,6 +151,23 @@ public void compactDB() throws Exception {
}
+ @Test
+ public void compactTable() throws Exception {
+ assertNotNull(rdbStore, "DBStore cannot be null");
+
+ for (int j = 0; j <= 20; j++) {
Review Comment:
I have an interesting observation here.
When I play with the number of insertions. I noticed that
`metaSizeBeforeCompact` always fluctuates between 2 to 5.
It looks like once it is about to reach 6, it does some compaction
**before** the new insertion.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]