Closed
Bug 693896
Opened 14 years ago
Closed 13 years ago
sync: try DELETE /storage some % of the time in grinder
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Atoll, Assigned: rfkelly)
References
Details
(Whiteboard: [qa+])
Attachments
(1 file)
|
2.41 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
Bug 684798 changes the client to use one DELETE /storage request instead of multiple DELETE /storage/{x,y,z} requests, when doing a full data reset. This may require load tests with a revised grinder worker template. If so, this bug for that. If not, WORKSFORME.
Comment 1•14 years ago
|
||
telliott: how's this look?
if random.randint(1,100) > 98:
# delete a random collection here
# 50% of the time we're in DELETE mode, delete all data
if random.randint(1, 2) == 1:
deleteCollectionString = "/%s/%s/storage" % (VERSION, username)
else:
collection = random.choice(collections)
deleteCollectionString = "/%s/%s/storage/%s" % (VERSION, username, collection)
i'd paste a diff, but I need to send you a whole new weave.py to get checked in to the loadtest repo.
Assignee: nobody → petef
Comment 2•14 years ago
|
||
I'm getting a 400 when I do DELETE .../storage. hmm.
Comment 3•14 years ago
|
||
(In reply to Pete Fritchman [:petef] from comment #2)
> I'm getting a 400 when I do DELETE .../storage. hmm.
As per API spec [1] you need to include the 'X-Confirm-Delete' header in the request.
[1] http://docs.services.mozilla.com/storage/apis-1.1.html#apis
Summary: try DELETE /storage some % of the time in grinder → sync: try DELETE /storage some % of the time in grinder
Updated•13 years ago
|
Whiteboard: [qa+]
i believe rfkelly owns this now?
Assignee: petef → nobody
Component: Operations → Server: Sync
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → rfkelly
| Assignee | ||
Comment 5•13 years ago
|
||
will do this after the current omg-loadtest-failure craziness on sync stage is over, the last thing we need at the moment is more variables :-)
| Assignee | ||
Comment 6•13 years ago
|
||
Attachment #657752 -
Flags: review?(telliott)
Updated•13 years ago
|
Attachment #657752 -
Flags: review?(telliott) → review+
| Assignee | ||
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•