Repair allocator (min/max swapped)

This commit is contained in:
Quentin Machu 2016-03-02 14:51:54 -05:00
parent 85208ae5a3
commit c8bf55c2bb

View file

@ -128,7 +128,7 @@ def yield_random_entries(batch_query, primary_key_field, batch_size, max_id, min
min_id = max(min_id, 0)
max_id = max(max_id, 1)
allocator = CompletedKeys(min_id, max_id + 1)
allocator = CompletedKeys(max_id + 1, min_id)
try:
while True: