Closed Bug 895172 Opened 12 years ago Closed 12 years ago

Give every object in solitude an e-tag

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P4)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-08-06

People

(Reporter: andy+bugzilla, Assigned: davidbgk)

References

Details

Before we do bug 845967 we need to give every object in solitude an etag. This bug is to alter the base model in solitude and give everything an etag. See bug 880311 for an example.
Blocks: 845967
Priority: -- → P4
Assignee: nobody → david
We can't base our etags on Django's datetimes given the lack of support for microseconds: buyer = Buyer.objects.create(uuid='sample:uuid') print buyer.modified 2013-07-25 06:41:44.373290 print Buyer.objects.get(pk=1).modified 2013-07-25 06:41:44 and it doesn't look to be merged soon https://code.djangoproject.com/ticket/19716 The other option is to deal with some kind of counter for each resource or to accept that one-second collision trade-off.
Target Milestone: --- → 2013-08-01
Target Milestone: 2013-08-01 → 2013-08-08
Blocks: 901961
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.