Recently compacted shard DBs can return 500s during listings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Seen in the wild:
Traceback (most recent call last):
File "/usr/local/
res = getattr(self, req.method)(req)
File "/usr/local/
resp = func(ctrl, *args, **kwargs)
File "/usr/local/
container_list = broker.
File "/usr/local/
filler_sr.lower = last_upper
File "/usr/local/
raise ValueError(
ValueError: lower ('...') must be less than or equal to upper ('...')
The trouble comes down to the DB being "sharded" for the purposes of the proxy's "x-backend-
FWIW, you can readily see this while running probe tests -- just have another window running something like
tail -f /var/log/syslog | sed -e '/#012/ !d;s/#012/ \n/g'
while you run the sharding probe tests.