After the cache is flushed and the array reallocated, reset the reallocation_upon_extension flag.