Closed Bug 667074 Opened 9 years ago Closed 8 years ago

Ensure that the python sync storage code handles NULL payload_size

Categories

(Cloud Services :: Server: Sync, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tarek, Unassigned)

References

Details

We found out that some payload sizes are NULL in the stage DB, and that broke the get_sizes API.

While it seemed to be an old problem (a new sync did not produce those) we will:

1/ control if prod has some 
2/ handle those gracefully in the code 
3/ avoid it in the future   (telliott suggests to add a NOT NULL in the db)
Depends on: 668564
Formerly a multibug, this is now item #2 from comment #0:

Ensure that the python sync storage code handles NULL payload_size gracefully.
Summary: Some payload_sizes are NULL → Ensure that the python sync storage code handles NULL payload_size
Looks like the source problem has been fixed, and the new DBs will not have old data in them.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.