senza icon indicating copy to clipboard operation
senza copied to clipboard

Unexpected behaviour when switching traffic

Open mo-gr opened this issue 8 years ago • 5 comments

The following behaviour is very surprising:

senza traffic skipper r103 1
Calculating new weights..Changing given percentage from 1.0 to 1.5 because all other versions are already getting the possible minimum traffic
 OK
Stack Name│Version│Identifier  │Old Weight%│Delta│Compensation│New Weight%│Current
skipper    r103    skipper-r103         0.0   1.0          0.5         1.5 <       
skipper    r106    skipper-r106       100.0 -50.5         24.5        74.0         
skipper    r99     skipper-r99          0.0               24.5        24.5         
Setting weights for skipper-debug.pathfinder-staging.zalan.do., skipper.pathfinder-staging.zalan.do... OK

Expected behaviour: remove 1% from skipper-r106 and add 1% to skipper-r103.

Actual behaviour: Weird juggling of traffic: adding 1.5% to r103, removing over 50% of traffic from the live stack while adding 24% back and putting some traffic to a completely different version potentially causing havoc, terror and sadness to our applications.

mo-gr avatar Jul 27 '16 16:07 mo-gr