Closed Bug 618642 Opened 15 years ago Closed 14 years ago

return 503+retry when memcache not available for storing tabs

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Atoll, Assigned: telliott)

Details

(Whiteboard: [python:627652])

Attachments

(1 file, 1 obsolete file)

when memcache is not available for storing tabs, ensure that we return 503+retry. we encountered this in production today and it appears that no 503s were returned to clients.
Assignee: nobody → telliott
need to throw an error when tab set returns false - means we're down a memcache node
Since we would expect memcache to be flushed when we bring it back, trying to bail out on non-tab queries in a bad idea - we've already stored the data. If we do have a situation where memcache can come back with data intact, we should probably flush as a matter of policy, since the memcache wouldn't match the db
Attachment #497334 - Flags: review?(tarek)
Attachment #497334 - Attachment is obsolete: true
Attachment #497384 - Flags: review?(tarek)
Attachment #497334 - Flags: review?(tarek)
Attachment #497384 - Flags: review?(tarek) → review+
Mike: Do we plan to apply this patch to production PHP before we switch to Python?
OS: Mac OS X → Windows 7
I guess it's what you wanted here, but just to be sure: On batch POSTs this error is swallowed -- and a 200 returned. e.g. the 503 is logged but the client will get a list of failures/successes. In Python I intend to log it in a log.error() call.
Pushing a patch for review on bug 627652
Whiteboard: [python:627652]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: