mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 10:41:12 +00:00
In due time we will have to fix this, but as an interim step, let's use a "better" magic number. The problem with 100, is that as soon as the partitions start to go bigger, we're using too much memory. Since this is multiplied by the number of token ranges, and happens in every shard, the final number can become really big, and the amount of resources we use go up proportionally. This means that even we are mistaken about the new number (we probably are), in this case it is better to err on the side of a more conservative resource usage. Reviewed-by: Nadav Har'El <nyh@scylladb.com> Signed-off-by: Glauber Costa <glauber@scylladb.com> Message-Id: <97158f3db5734916cee4ccf12eaa66e7402570bb.1457448855.git.glauber@scylladb.com>