tianhang tang created HBASE-27661:
-------------------------------------
Summary: Set size of systable queue in UT
Key: HBASE-27661
URL: https://issues.apache.org/jira/browse/HBASE-27661
Project: HBase
Issue Type: Bug
Reporter: tianhang tang
Assignee: tianhang tang
Attachments: image-2023-02-23-14-52-38-867.png
TestSlowLogAccessor#testHigherSlowLogs failed in my CI pipeline.
!image-2023-02-23-14-48-02-938.png|width=495,height=357!
!image-2023-02-23-14-48-26-397.png|width=549,height=267!
SlowLogPersistentService use an
[EvictingQueue|https://github.com/apache/hbase/blob/22dbb7afc383b9b9a8678f2c9eca1dca31784615/hbase-server/src/main/java/org/apache/hadoop/hbase/namequeues/SlowLogPersistentService.java#L58]
to handle slowLogs. and default size is 1000.
So when the write speed is fast, this UT cannot guarantee that more than 2000
slowLogs will be stored in the table (they will be evicted in the queue).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)