object-server partital write prevention not tested
Bug #1040883 reported by
Darrell Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
Matthew Oliver |
Bug Description
The code in the object-server's ObjectControlle
Changed in swift: | |
importance: | Undecided → Low |
Changed in swift: | |
status: | New → Triaged |
Changed in swift: | |
assignee: | nobody → Matthew Oliver (matt-0) |
To post a comment you must log in.
I don't think this one could be tested, apart from trivial write() mock.
AFAIR, write() syscall can return less bytes in case of non regular file only.
It looks like defensive style programming to me.