Cherokee balanacer order inverted. #914

Open
Borkason opened this Issue Mar 24, 2013 · 1 comment

Comments

Projects
None yet
2 participants
Member

Borkason commented Mar 24, 2013

Original author: pubcrawl...@gmail.com (January 12, 2012 12:34:27)

What steps will reproduce the problem?

  1. Load cherokee-admin
  2. Create a new Handler within a site
  3. Select type HTTP Reverse Proxy
  4. Back-end Servers - set balancer to type FAILOVER
  5. Go about adding several backends to your list (let's call them 1-4)
  6. Put these backends in stacked ascending order 1,2,3,4
  7. Go and test where the traffic goes. It should go to #​1 since it's first on top of the list. Wrong, it goes to #​4 .

Simply stated, it seems that the order of the list is actually inverted when Cherokee is parsing things.

Tested this on multiple servers and same experience. Actually seems to be a long term bug or reversed logic.

What version of the product are you using? On what operating system?

This is last Cherokee release from the mirrors:
1.2.101

Testing for this is being done on Ubuntu latest + latest Opera browser.

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1332

Member

skinkie commented Mar 29, 2013

It might be (which I expect) that this is in fact not a bug at all, but that order is not guaranteed. If it is trivial to fix (because it is only reversed by reading or writing) we might be able to solve it quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment