Full Re-index Process hangs after a Permissions Cascade on Host
Reproduced on release-2.3.2 on mysql macosx and windows/postgres instance
I have reproduced this 4 times now by following these steps... not sure what exacly caused it, but I think it is the permissions cascade on a role, and then the re-index:
1)Bring up clean starter, create a new role "webmaster" 2) From the role, click on permissions, choose the demo host add it and give the role publish permissions on everything and CASCADE the permissions so that it applies to every child object... give the cascade time to finish (I have it 15 minutes on my last test). 3) Try to re-index... eventtually right between 60 and 80% complete the re-index will freeze up and if you look in the log... it seems to be trying to re-index the same object, over and over and over... index never completes.
http://screencast.com/t/VILCfrxtBU
Data Point: Reproduced locally on a MySQL install. Here is a thread dump.
https://gist.github.com/wezell/4e35459158fad5ea87d4
couldn't reproduce on master. weird
Nothing in mysql - seems like ES is hung up.
https://gist.github.com/wezell/ff71f41cf5b878b09a44
@wezell weird I do not see any of your threads hung. What versions of MySQL is everyone running?
maybe a switch over issue?
@JT Server version: 5.6.10-log MySQL Community Server
Definitely seems like a switch over issue: The index is finished building
- look at the item counts.
http://screencast.com/t/tL2qCDXPYaeH
also @wezell what branch are you in?
@JT I'm in master-2.5
I tested the latest released zip version (2.3.1) and it did not happen there running postgres, but it did happen for me running release-2.3.2 on postgres
hey guys please try to reproduce again in that branch. first do a $ git fetch to make sure you get all the new commits. then get my commit with $ git cherry-pick e547b5f then deploy and run. let's see if it makes any difference.
No I will merge for them :-)
When we see this come thru as needs QA we will know it is merged and test again... on standby
Merged to master,master-2.5,release-2.3.2
@DeanGonzalez this is merged to all the branches.
I have tried 3 times from clean starter... git branch -l, git status all check out... but this is still not working on mysql... re-index still does not finish.
I created new issue for mysql fix: https://github.com/dotCMS/dotCMS/issues/3042