Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Eviction with USED_HEAP_SIZE may end up with a OOME on cluster members #13529
We are fixing this with an algorithm change which will allow configuration of the number of entries to be evicted. Up to this point it has always been one. Changing it to 2 fixes this test case and it can be raised even higher if needed.
Performance wise, the partition thread has extremely low latency access to the RecordStore so measurable latency is hardly changed. Plus 1 * 2 or 1 + 1 both equal 2 so the overall time spent evicting will remain constant.