Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow shutdown while using indexes #15340

Closed
taburet opened this issue Jul 22, 2019 · 0 comments · Fixed by #15379
Closed

Slow shutdown while using indexes #15340

taburet opened this issue Jul 22, 2019 · 0 comments · Fixed by #15379

Comments

@taburet
Copy link
Contributor

@taburet taburet commented Jul 22, 2019

On-heap (?) indexes are cleaned on shutdown, the index entries are removed one by one. For large indexes (e.g. for array/collection attribute indexes) this may take a considerable amount of time. That also affects cluster rebalance time for graceful shutdown with the subsequent member restart.

Looks like the issue started to appear after this fix or the fix just made it more visible/severe.

@taburet taburet added this to the 4.0 milestone Jul 22, 2019
@taburet taburet self-assigned this Jul 22, 2019
taburet added a commit to taburet/hazelcast that referenced this issue Jul 22, 2019
There is no point in cleaning on-heap global indexes on a per partition
basis on shutdown, so we are just destroying global indexes as a whole
on instance shutdown.

Fixes: hazelcast#15340
taburet added a commit that referenced this issue Jul 23, 2019
There is no point in cleaning on-heap global indexes on a per partition
basis on shutdown, so we are just destroying global indexes as a whole
on instance shutdown.

Fixes: #15340
taburet added a commit to taburet/hazelcast that referenced this issue Jul 26, 2019
There is no point in cleaning on-heap global indexes on a per partition
basis on shutdown, so we are just destroying global indexes as a whole
on instance shutdown.

(cherry-picked from 0a5b669)

Fixes: hazelcast#15340
taburet added a commit that referenced this issue Jul 26, 2019
There is no point in cleaning on-heap global indexes on a per partition
basis on shutdown, so we are just destroying global indexes as a whole
on instance shutdown.

(cherry-picked from 0a5b669)

Fixes: #15340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.