commit 39b0e5d4438624a6a981c3ae4606b7ce200cbe28
Author: Steve Lewis <email address hidden>
Date: Mon Aug 3 22:56:24 2015 -0700
Add sorting_method to swift proxy config as needed
When read_affinity is used and sorting_method is not used warnings
are generated in the swift proxy log indicating that the
read_affinity is not being respected. When read_affinity is specified
this change sets the sorting_method to affinity automatically, and
otherwise uses a configured value which defaults to shuffle.
Note that write_affinity does not respect sorting_method and follows
a different code path and does not issue warnings in logs when used
without sorting_method.
Closes-bug: 1480581
Co-Authored-By: Andy McCrae <email address hidden>
Change-Id: I3cab89c95f288b4a59f4dd3c7360daca7a4f47bf
Reviewed: https:/ /review. openstack. org/208817 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=39b0e5d4438 624a6a981c3ae46 06b7ce200cbe28
Committed: https:/
Submitter: Jenkins
Branch: master
commit 39b0e5d4438624a 6a981c3ae4606b7 ce200cbe28
Author: Steve Lewis <email address hidden>
Date: Mon Aug 3 22:56:24 2015 -0700
Add sorting_method to swift proxy config as needed
When read_affinity is used and sorting_method is not used warnings
are generated in the swift proxy log indicating that the
read_affinity is not being respected. When read_affinity is specified
this change sets the sorting_method to affinity automatically, and
otherwise uses a configured value which defaults to shuffle.
Note that write_affinity does not respect sorting_method and follows
a different code path and does not issue warnings in logs when used
without sorting_method.
Closes-bug: 1480581 4a59f4dd3c7360d aca7a4f47bf
Co-Authored-By: Andy McCrae <email address hidden>
Change-Id: I3cab89c95f288b