[
https://issues.apache.org/jira/browse/HBASE-27661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-27661.
-------------------------------
Fix Version/s: 2.6.0
3.0.0-alpha-4
2.4.17
2.5.4
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.4+.
Thanks [~tangtianhang] for contributing!
> 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
> Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4, 2.4.17, 2.5.4
>
> Attachments: image-2023-02-23-14-52-38-867.png,
> image-2023-02-23-14-53-02-177.png
>
>
> TestSlowLogAccessor#testHigherSlowLogs failed in my CI pipeline.
> !image-2023-02-23-14-52-38-867.png|width=654,height=409!
> !image-2023-02-23-14-53-02-177.png|width=702,height=328!
> 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)