Page MenuHomeSoftware Heritage

replay: Check relative / recursive externals only when closing root dir
ClosedPublic

Authored by anlambert on Feb 7 2022, 4:52 PM.

Details

Summary

These operations need only to be performed once at the end of a revision
replay when closing the root directory.

Previously it was performed each time a sub-directory was closed which
was significantly slowing down the loading process.

Related to T611

Diff Detail

Repository
rDLDSVN Subversion (SVN) loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7107 (id=25767)

Rebasing onto 20c1445fb1...

Current branch diff-target is up to date.
Changes applied before test
commit d929eebd392464e66db741793b47ab4f13e3b192
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Mon Feb 7 16:48:51 2022 +0100

    replay: Check relative / recursive externals only when closing root dir
    
    These operations need only to be performed once at the end of a revision
    replay when closing the root directory.
    
    Previously it was performed each time a sub-directory was closed which
    was significantly slowing down the loading process.
    
    Related to T611

See https://jenkins.softwareheritage.org/job/DLDSVN/job/tests-on-diff/288/ for more details.

This revision is now accepted and ready to land.Feb 7 2022, 11:14 PM