de-duplicate column definitions for WBO storage

VERIFIED FIXED

Status

Cloud Services
Server: Sync
VERIFIED FIXED
7 years ago
6 years ago

People

(Reporter: rfkelly, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 588609 [details] [diff] [review]
patch to de-deuplicate wbo column definitions

The code in sqlmappers.py currently duplicates the WBO column definitions - once for the unsharded WBO table, and once for the _WBOBase object used to declare the sharded tables.  The attached patch removes this duplication by deriving the unsharded WBO table from the declarations in _WBOBase.
(Reporter)

Updated

7 years ago
Attachment #588609 - Flags: review?(telliott)
Attachment #588609 - Flags: review?(telliott) → review+
(Reporter)

Comment 1

6 years ago
Thanks, committed in http://hg.mozilla.org/services/server-storage/rev/1fdcdc0349cc
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.