Comment 3 for bug 1035274

Revision history for this message
Constantine Peresypkin (constantine-q) wrote :

I can see three different ways out of this:

1. do an empty REPLICATE request before each rsync in the update_deleted()
Pros: very easy to implement
Cons: excessive load on the object server

2. parse rsync output to catch the problem with the directory then do a REPLICATE request and rsync once more
Pros: no load on object server
Cons: much harder to implement: needs stdout/err parser, needs second rsync run and some logic

3. change rsync execution arguments in such a way that it will create the target directory by itself
Pros: easy to implement, no load on object server
Cons: needs excessive testing (it should not break existing functionality)

I'm tending towards the 3.
But will anybody test it?