yahoo / Oak

A Scalable Concurrent Key-Value Map for Big Data Analytics
Apache License 2.0
268 stars 48 forks source link

infinite loop in ThreadIndexCalculator #207

Open liuxinpeister opened 2 years ago

liuxinpeister commented 2 years ago

Hi! i got infinite loop in ThreadIndexCalculator when i remove value from OrderedMap

image

liuxinpeister commented 2 years ago

Maybe the reason is that this method is not called : ThreadIndexCalculator.releaseIndex()

sanastas commented 2 years ago

Hi @liuxinpeister ,

With how many threads do you run? Is the failure re-creatable?

Generally, there is assert for infinite loop there, but most likely you are not running in debug mode.