In 6.1 GA3, document ranks are staged. When a Site is published to live, it will export these ranks from staging to Live. If there is a sufficiently large amount, it will cause the process to never finish, or become extremely slow.
In 6.2 the export/import/staging of ranks was removed by
Steps to reproduce:
1. Enable local live staging for a site
2. Set log levels to INFO for "com.liferay.portal.lar"
3. Add Recent Downloads & Documents and Media portlets to a page on the staging site
4. Add some documents. Download some of the documents. This creates the entries in the dlfilerank table and shows the files in the recent downloads portlet
5. Publish to live
Ranks should not be exported to the live site.
Ranks are exported to the live site.
Notice Recent Downloads portlets on live site contains entries from staged site and in the log there will be entries similar to:
Reproduced on ee-6.1.x - eaf69db5bbb93cdb6b80c891913dd51990dbf2d7