POST returning 503 for (204, 404)

Asked by Anton

Hi,
ring have 2 replicas, and when one node is down, swift woring not correctrly

Aug 30 06:09:06 prx-06 swift Account POST returning 503 for (204, 404) (txn: txbc15ba2012724675ab984-0052203702) (client_ip: 10.10.10.51)

How we configure swift for success responce if it provides one node?
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Anton
Solved:
Last query:
Last reply:
Revision history for this message
clayg (clay-gerrard) said :
#1

Personally I think we could do better, but we'll have to start accepting and triaging 2 replica bugs like this. As a start I'd suggest to move utils.quorum_size from > 50% to >= 50%. I think it makes more sense in both the 2 and 4 replica cases and makes no difference on 3.

This is not the first time I've said this tho.

https://review.openstack.org/44414

Revision history for this message
Anton (hettbox) said :
#2

Thanks, I thought it can be done in the config. Such a method is also acceptable.