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

Fix a very rare recursive-table-growth problem in primitive collections #6754

Merged
merged 1 commit into from Mar 22, 2016
Merged

Fix a very rare recursive-table-growth problem in primitive collections #6754

merged 1 commit into from Mar 22, 2016

Conversation

chrisvest
Copy link
Contributor

@chrisvest chrisvest commented Mar 21, 2016

This fixes #6654

During growing the table underlying a collection, the process of populating the new table could decide that the table needs to grow once more.
If this happened, the outer most table grows (with the smallest table) would end up installing its table last, overwriting the work of any growth caused by table population.
This would result in the table suddenly forgetting an arbitrary number of its entries.
Specifically, this could manifest as very rare permanent self-deadlocks in the Forseti (Enterprise Edition) lock manager.

changelog: Fix for rare permanent self-deadlocks in the Enterprise lock manager #6654

@chrisvest
Copy link
Contributor Author

Please take a look at this, @tinwelint

@tinwelint tinwelint self-assigned this Mar 22, 2016
@chrisvest
Copy link
Contributor Author

Thank you, @tkroman, for the help with finding and fixing this issue.

This fixes #6654

During growing the table underlying a collection, the process of populating the new table could decide that the table needs to grow once more.
If this happened, the outer most table grows (with the smallest table) would end up installing its table last, overwriting the work of any growth caused by table population.
This would result in the table suddenly forgetting an arbitrary number of its entries.
Specifically, this could manifest as very rare permanent self-deadlocks in the Forseti (Enterprise Edition) lock manager.
@chrisvest
Copy link
Contributor Author

@tinwelint I think this is good, now.

tinwelint added a commit that referenced this pull request Mar 22, 2016
Fix a very rare recursive-table-growth problem in primitive collections
@tinwelint tinwelint merged commit fa2b50e into neo4j:2.2 Mar 22, 2016
@chrisvest chrisvest deleted the 2.2-pricoll-grow branch March 22, 2016 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants