Skip to content
Snippets Groups Projects
user avatar
Vladislav Shpilevoy authored
* fix some obvious errors in swim test utils;

* fix a bug with NULL URI garbage on recfg;

* fix typos in a comment and in a log message in swim.c;

* do not start any timers in swim_cfg. Indeed, round timer should
  start only when at least one new member is added except self,
  and it is already done in swim_new_member;

* log not only round begin, but each round step - it helps in
  debug, but does not affect production anyway because the logs
  are verbose;

* in SWIM's event loop log new watch value instead of the old
  one - turned out, that new is more useful for debug;

* log 'process <name> component' inside swim_process_<name>()
  functions. It is needed for failure detection, where a log of
  kind 'process failure detection' says nothing - much better to
  say 'process ping from', or 'process ack';

* in swim tests instead of swim_cluster_wait_...(max_steps) use
  swim_cluster_wait_...(timeout). Step count restriction appeared
  to be useful for anti-entropy being equal to number of round
  steps, but it is not so once failure detection appears. Replies
  for failure detection requests does not depend on SWIM
  heartbeat and affect step count in a not trivial way - it makes
  test writing, debugging and supporting much harder.

Follow-up for 03b9a6e9
5f494092
History
Name Last commit Last update
..
CMakeLists.txt
base64.c
base64.result
bit.c
bit.result
bitset_basic.c
bitset_basic.result
bitset_index.c
bitset_index.result
bitset_iterator.c
bitset_iterator.result
bloom.cc
bloom.result
bps_tree.cc
bps_tree.result
bps_tree_iterator.cc
bps_tree_iterator.result
cbus.c
cbus.result
cbus_stress.c
cbus_stress.result
checkpoint_schedule.c
checkpoint_schedule.result
coio.cc
coio.result
coll.cpp
coll.result
column_mask.c
column_mask.result
csv.c
csv.result
fiber.cc
fiber.result
fiber_channel.cc
fiber_channel.result
fiber_channel_stress.cc
fiber_channel_stress.result
fiber_cond.c
fiber_cond.result
fiber_stress.cc
fiber_stress.result
find_path.c
find_path.result
guard.cc
guard.result
guava.c
guava.result
heap.c
heap.result
heap_iterator.c
heap_iterator.result
histogram.c
histogram.result
int96.cc
int96.result
json.c
json.result
light.cc
light.result
mhash.c
mhash.result
mhash_body.c
mhash_bytemap.c
mhash_bytemap.result
msgpack.result
queue.c
queue.result
ratelimit.c
ratelimit.result
reflection_c.c
reflection_c.result
reflection_cxx.cc
reflection_cxx.result
rlist.c
rlist.result
rmean.cc
rmean.result
rope.c
rope.result
rope_avl.c
rope_avl.result
rope_basic.c
rope_basic.result
rope_common.h
rope_stress.c
rope_stress.result
rtree.cc
rtree.result
rtree_iterator.cc
rtree_iterator.result
rtree_multidim.cc
rtree_multidim.result
say.c
say.result
scramble.c
scramble.result
sio.c
sio.result
sql-bitvec.result
stailq.c