Actions
Bug #2278
closedlibrados: python read has arguments swapped
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Object.read from rados.py is passing arguments to ioctx.read in a wrong order.
--- rados.py.dist 2012-04-13 16:52:41.155452434 0200
++ rados.py 2012-04-13 16:53:03.887451909 0200@ -762,7 +762,7
@
@set_object_locator
def read(self, length = 1024*1024):
self.require_object_exists()
- ret = self.ioctx.read(self.key, self.offset, length)
ret = self.ioctx.read(self.key, length, self.offset)
self.offset += len(ret)
return ret
Updated by Sage Weil about 12 years ago
- Status changed from New to 12
- Priority changed from Normal to High
- Target version set to v0.46
Updated by Josh Durgin about 12 years ago
- Subject changed from Bug in python binding to librados: python read has arguments swapped
- Assignee set to Josh Durgin
- Source changed from Development to Community (dev)
Updated by Josh Durgin about 12 years ago
- Status changed from 12 to Resolved
Fixed by 76799680546a79fc73ad7bbc58960a31ae2290ad.
Actions