Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
5.14.0
-
None
-
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.