Skip to content

Storage space is not released #12942

@GhostBoyBoy

Description

@GhostBoyBoy

image

I tested it through pulsar-perf, the command:
./pulsar-perf consume -t 1 -n 1 -q 1000 -ns 1 -st Shared --acks-delay-millis 0 persistent://prop/nsp/my-topic
./pulsar-perf produce -t 1 -n 1 -r 1000000 persistent://prop/nsp/my-topic

Modified configuration:
1.This configuration is set by pulsar-admin.
[root@ecs-pulsar-broker-0003 bin]# ./pulsar-admin namespaces get-retention prop/nsp
{
"retentionTimeInMinutes" : 1,
"retentionSizeInMB" : 1
}

2.This configuration modify broker.conf and then restart the broker.
managedLedgerOffloadDeletionLagMs=1000

3.Partition is pulsar-admin, divided into 100

Others are the default configuration.

Problem:
1.The backlog is 0, why is the storage space not released?
2.How can I set up to free up space immediately after consumption of messages?

After I rolled and restarted the broker, it was still like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureThe PR added a new feature or issue requested a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions