Page MenuHomePhabricator
Feed Advanced Search

Nov 7 2013

kbrownlees closed T4070: Feature Request: full text search of repositories as Resolved.

Awesome, turns out I need to look harder for things!

Nov 7 2013, 4:35 PM · Diffusion
kbrownlees raised the priority of T4070: Feature Request: full text search of repositories from to Needs Triage.
Nov 7 2013, 3:36 PM · Diffusion
kbrownlees closed T4068: Importing a very large repository does not complete correctly as Resolved.

Three tasks got stuck while processing, going in a manually freeing the leases seemed to work (not sure if that was a bad idea?).

Nov 7 2013, 3:16 PM
kbrownlees added a comment to T4068: Importing a very large repository does not complete correctly.

Thank you again for the quick responses and work! I had already deleted the repository unfortunately. The import is running again now so we will see how it goes, a basic discover on my desk appeared to be substantially better than before the latest upgrades so looks promising.

Nov 7 2013, 11:39 AM

Nov 6 2013

kbrownlees added a comment to T4068: Importing a very large repository does not complete correctly.

Ok, will wait for the fix.

Nov 6 2013, 5:00 PM
kbrownlees added a comment to T4068: Importing a very large repository does not complete correctly.

The missing commits only appear to be on default, which has a head of ae4359086352cd514d9be80ce59830f69ee3941b. Is there any debug I can leave on while it is parsing that would help us try and catch the error? It took ~4 hours last time so will leave it going overnight.

Nov 6 2013, 4:53 PM
kbrownlees added a comment to T4068: Importing a very large repository does not complete correctly.
phabricator@lal-phabricator:~/phabricator$ ./bin/repository discover ML --trace
>>> [2] <connect> phabricator_repository
<<< [2] <connect> 1,087 us
>>> [3] <query> SELECT * FROM `repository` r  WHERE (r.callsign IN ('ML')) ORDER BY r.id DESC 
<<< [3] <query> 206 us
Discovering 'ML'...
>>> [4] <exec> $ (cd '/home/phabricator/repos/ML/' && HGPLAIN=1 hg --debug branches)
<<< [4] <exec> 155,312 us
>>> [5] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 15 AND commitIdentifier = 'ae4359086352cd514d9be80ce59830f69ee3941b' 
<<< [5] <query> 734 us
>>> [6] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 15 AND commitIdentifier = '81603c4c6139a0499cc41a16b0222f8156745798' 
<<< [6] <query> 371 us
>>> [7] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 15 AND commitIdentifier = '0761b2dfbe24c8ab3bb0f964a0d147f6ce5b5b5f' 
<<< [7] <query> 501 us
>>> [8] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 15 AND commitIdentifier = '62680cd8cd244456138cba95730ab4e3438845ac' 
<<< [8] <query> 380 us
>>> [9] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 15 AND commitIdentifier = 'e5426ec9b111bfb56800a7c8023fe5dbf90c67b5' 
<<< [9] <query> 370 us
>>> [10] <query> SELECT * FROM `repository_commit` WHERE repositoryID = 15 AND importStatus != 15
        LIMIT 1
<<< [10] <query> 223 us
Done.
phabricator@lal-phabricator:~/phabricator$

Do I need to drop something to force it to reparse a branch?

Nov 6 2013, 4:43 PM
kbrownlees added a comment to T4068: Importing a very large repository does not complete correctly.

Thank you for the quick response and work!

Nov 6 2013, 4:30 PM
kbrownlees raised the priority of T4068: Importing a very large repository does not complete correctly from to Needs Triage.
Nov 6 2013, 11:21 AM