Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.7 beta
-
Security Level: Public
-
None
Description
mbrestore (1.6.5.4) would complain about things like...
OverflowError: can't convert negative number to unsigned long
Traceback (most recent call last):
File "/opt/membase/lib/python/mbrestore", line 73, in worker
update(str(k), exptime, socket.ntohl(flags), bytearray(v))
The socket.ntohl doesn't like flags that have the highest-order bit set, such as flags of 0x8000000 and higher.
Bin was pointing at some ctypes-related fix for this.
Attachments
For Gerrit Dashboard: MB-3907 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
6618,2 | MB-3907 always treat flags as unsigned integer | master | ep-engine | Status: MERGED | +2 | +1 |