Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27661

Set size of systable queue in UT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0, 3.0.0-alpha-4, 2.4.17, 2.5.4
    • None
    • None
    • Reviewed

    Description

      TestSlowLogAccessor#testHigherSlowLogs failed in my CI pipeline.

      SlowLogPersistentService use an EvictingQueue 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).

      Attachments

        1. image-2023-02-23-14-52-38-867.png
          225 kB
          tianhang tang
        2. image-2023-02-23-14-53-02-177.png
          360 kB
          tianhang tang

        Issue Links

          Activity

            People

              tangtianhang tianhang tang
              tangtianhang tianhang tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: