Commit 14fad5a0 authored by Nils Goroll's avatar Nils Goroll Committed by Reza Naghibi

shard signedness stir: last bits?

 Conflicts:
	lib/libvmod_directors/vmod_shard.c
parent 774b262f
......@@ -308,9 +308,8 @@ unsigned
sharddir_any_healthy(struct sharddir *shardd, const struct busyobj *bo,
double *changed)
{
unsigned retval = 0;
unsigned i, retval = 0;
VCL_BACKEND be;
int i;
vtim_real c;
CHECK_OBJ_NOTNULL(shardd, SHARDDIR_MAGIC);
......@@ -399,10 +398,10 @@ sharddir_pick_be_locked(VRT_CTX, const struct sharddir *shardd, uint32_t key,
chosen_r = shardcfg_get_rampup(shardd, state->previous.hostid);
alt_r = shardcfg_get_rampup(shardd, state->last.hostid);
SHDBG(SHDBG_RAMPWARM, shardd, "chosen host %d rampup %f changed %f",
SHDBG(SHDBG_RAMPWARM, shardd, "chosen host %u rampup %f changed %f",
state->previous.hostid, chosen_r,
ctx->now - state->previous.changed);
SHDBG(SHDBG_RAMPWARM, shardd, "alt host %d rampup %f changed %f",
SHDBG(SHDBG_RAMPWARM, shardd, "alt host %u rampup %f changed %f",
state->last.hostid, alt_r,
ctx->now - state->last.changed);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment