keith-turner commented on code in PR #5262:
URL: https://github.com/apache/accumulo/pull/5262#discussion_r1917149068


##########
test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_1_IT.java:
##########
@@ -500,6 +504,68 @@ public void testManytablets() throws Exception {
       compact(client, table1, 3, GROUP4, true);
 
       verify(client, table1, 3);
+
+      List<TabletId> tabletIds;
+      // start a compaction on each tablet
+      try (var tablets = client.tableOperations().getTabletInformation(table1, 
new Range())) {

Review Comment:
   I wrote this test initially to check performance, but realized its a good 
test of many compaction on the same table w/ different config also.  
   
   I did not initially see a performance difference w/ this test.  Looking into 
it the reason was the compaction were finishing too quickly, so only 8 or 9 
compaction fate operations were active at a time.  For the performance bug to 
be observed needed many more active fate operations.  Locally I modified the 
test to kill the compactor processes and start 1K compaction fate operations.  
With those changes I could see orders of magnitude diffs for fate lock 
acquisition time.



-- 
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