object-reconstructor should delete fragments as soon as they are reverted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
When the object-
The reconstructor should delete all reverted fragments to free space as soon as possible.
# swift-object-
object-replicator: Starting 13697
object-replicator: [worker 1/1 pid=13730] Running object replicator in script mode.
object-replicator: [worker 1/1 pid=13730] 172.16.
object-replicator: [worker 1/1 pid=13730] 1/1 (100.00%) partitions replicated in 16.50s (0.06/sec, 0s remaining)
object-replicator: [worker 1/1 pid=13730] 2 successes, 0 failures
object-replicator: [worker 1/1 pid=13730] Object replication complete (once). (0.28 minutes)
object-replicator: Finished 13697
object-replicator: Exited 13697
# du -sh /srv/node/
4.9G /srv/node/
# find /srv/node/
5171
# FIX THE BUG
# swift-object-
object-replicator: Starting 14520
object-replicator: [worker 1/1 pid=14553] Running object replicator in script mode.
object-replicator: [worker 1/1 pid=14553] Removing partition: /srv/node/
object-replicator: [worker 1/1 pid=14553] 1/1 (100.00%) partitions replicated in 149.64s (0.01/sec, 0s remaining)
object-replicator: [worker 1/1 pid=14553] 3 successes, 0 failures
object-replicator: [worker 1/1 pid=14553] Object replication complete (once). (2.49 minutes)
object-replicator: Finished 14520
object-replicator: Exited 14520
# du -sh /srv/node/
du: cannot access `/srv/node/