MXS-1777 Changing server weights to match 2.2 behavior.
Match 2.2, changed the weights back to non-inverse because 0-weight is a special case. Renamed to server_weight for greppability.
This commit is contained in:
		| @ -372,7 +372,7 @@ void RWSplit::diagnostics(DCB* dcb) | ||||
|             dcb_printf(dcb, | ||||
|                        "\t\t%-20s %3.1f%%     %-6d  %-6d  %d\n", | ||||
|                        ref->server->name, | ||||
|                        (1.0 - ref->inv_weight) * 100, | ||||
|                        ref->server_weight * 100, | ||||
|                        ref->server->stats.n_current, | ||||
|                        ref->connections, | ||||
|                        ref->server->stats.n_current_ops); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Niclas Antti
					Niclas Antti