When or how will the swift reconstructor create a new fragment in a handoff node when a primary is down?

提问于 2017-06-01 20:28:53 -0500

It's said in Swift docs that the reconstructor act like the replicator, and it'll do

Recovering from disk drive failure.

https://docs.openstack.org/developer/swift/overview_erasure_code.html#the-reconstructor (https://docs.openstack.org/developer/...)

I think unmounting a disk of a primary node is just like a disk drive failure situation. So I did it.

For the replica policy, when I unmounted a disk of a primary node, the replicator copied a replica to a handoff node.

But for the EC policy, the reconstructor didn't act as expected. The fragment in the unmounted disk was never be reconstructed to a handoff.

So, when or how will the swift reconstructor create a new fragment in a handoff node when a primary is down?

Thanks!

Regards!

edit retag flag offensive close merge delete