leverich / mutilate

Mutilate: high-performance memcached load generator
BSD 3-Clause "New" or "Revised" License
126 stars 69 forks source link

Fix floating point exception in agent mode #16

Closed natekc closed 6 years ago

natekc commented 6 years ago

Problem

Floating point exception occurs when running mutilate -T 16 -A because no server is passed in.

Expected Behavior

Client agent mode should not crash.

Machine Specs

OS: CentOS 7 GCC Version: 4.8.5

Fix

Calculate # records only if there are servers.

natekc commented 6 years ago

Fix is already described with libzmq. Closing.