Multiple replicators rsync data to same partition, there're two copies with different suffix name at same time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If two clients rsync data to same partiton, there're two copies with different suffix name at same time.
```
root@ubuuntu2:
total 8.0G
drwxr-xr-x 2 swift swift 78 Mar 7 07:30 .
drwxr-xr-x 3 swift swift 45 Mar 7 07:30 ..
-rw------- 1 swift swift 3.0G Mar 7 07:30 .1457331295.
-rw------- 1 swift swift 2.9G Mar 7 07:30 .1457331295.
root@ubuuntu2:
total 8.0G
drwxr-xr-x 2 swift swift 78 Mar 7 07:30 .
drwxr-xr-x 3 swift swift 45 Mar 7 07:30 ..
-rw------- 1 swift swift 3.0G Mar 7 07:30 .1457331295.
-rw------- 1 swift swift 3.0G Mar 7 07:30 .1457331295.
root@ubuuntu2:
total 7.0G
drwxr-xr-x 2 swift swift 70 Mar 7 07:30 .
drwxr-xr-x 3 swift swift 45 Mar 7 07:30 ..
-rw------- 1 swift swift 3.0G Mar 7 07:30 1457331295.
-rw------- 1 swift swift 3.0G Mar 7 07:30 .1457331295.
```
* Should suffix path be locked if there's a transaction ?
Did that other file, ".1457331295. 42630.data. MKg5rY" stick around forever?