Closed
Bug 623600
Opened 14 years ago
Closed 14 years ago
503 on all backend failures
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tarek, Assigned: tarek)
Details
Attachments
(2 files)
9.42 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
614 bytes,
patch
|
Atoll
:
review+
|
Details | Diff | Splinter Review |
Make sure :
* the auth server
** returns 503 on ldap failures
** get back on track when the ldap server is back
* the storage server
** returns 503 on ldap, sql and memcached failures
** get back on track when the ldap or sql server is back
Assignee | ||
Updated•14 years ago
|
Severity: normal → major
Assignee | ||
Comment 1•14 years ago
|
||
for sql/memcached
* in core: http://hg.mozilla.org/services/server-core/rev/84104a934dd4
* in storage: http://hg.mozilla.org/services/server-storage/rev/321ee6560a64
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•14 years ago
|
||
This patch makes sure that:
- add_s and modified_s are also re-tried when a SERVER_DOWN error occured. python-ldap's ReconnectLDAP class did not cover those for some reason. The test is not easy to reproduce in the unittest: it consists or relaunching the ldap server and make sure existing connectors are still running correctly.
- SERVER_DOWN and OTHER are now caught on every failure like TIMEOUT
- a new config was added: global.retry_after. Defaults to 1800.
Attachment #503766 -
Flags: review?(telliott)
Assignee | ||
Comment 3•14 years ago
|
||
Goes with patch 503766
Attachment #503768 -
Flags: review?(rsoderberg)
Attachment #503768 -
Flags: review?(rsoderberg) → review+
Comment 4•14 years ago
|
||
Comment on attachment 503766 [details] [diff] [review]
retry-after+503 for LDAP
Looks good. I worry a little that 10 retries is too many - you can clog up a lot of pipes if you're waiting 10s for auth - but that's a separate issue.
Attachment #503766 -
Flags: review?(telliott) → review+
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #4)
> Comment on attachment 503766 [details] [diff] [review]
> retry-after+503 for LDAP
>
> Looks good. I worry a little that 10 retries is too many - you can clog up a
> lot of pipes if you're waiting 10s for auth - but that's a separate issue.
Right, those are aggressive defaults, I'll set the retries to 3 attempts, and the delay between two retries to 100 ms.
Assignee | ||
Comment 6•14 years ago
|
||
Code commited in http://hg.mozilla.org/services/server-core/rev/e164ac00dd81
Assignee | ||
Comment 7•14 years ago
|
||
Doc commited. Preview: http://sync.ziade.org/doc/configuration.html#global
Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 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
•