Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6394

Activemq leveldb file issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 5.14.0
    • None
    • LevelDB
    • None

    Description

      Test case:
      I created two queues test_1 and test_2.
      From the same time send message to test_1 and test_2 queues,the message size is 10k, but send to test_1 is fast, send to test_2 is slow, the aim is allow each leveldb file contains a large number of test_1's messages and a small amount of test_2's messages.
      after stop send, test_1 stored 686 messages,test_1 stored 141888 messages, generated following leveldb of files :
      101M 0000000000000000.log
      101M 000000000640077d.log
      101M 000000000c800a63.log
      101M 0000000012c00eeb.log
      101M 0000000019001432.log
      7.1M 000000001f4017fe.index
      30M 000000001f4017fe.log

      After have consumed test_1 of all messages. But leveled of files are't change, file capacity is not reduced.This will lead to store a small amount of messages take up a lot of disk capacity.
      The how to solve this problem?

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            julius.yang Julius
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: