-
Notifications
You must be signed in to change notification settings - Fork 63
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
speed up migrationPage #4417
speed up migrationPage #4417
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes method processOwnsYearXML(Process process)
in FileService
dead code and you could delete it. Alternative suggestion: You combine the two methods processOwnsYearXML(Process process)
and processOwnsYearXML(Process process, boolean forIndexingAll)
in FileService
(line 589−603) to this one method:
public boolean processOwnsYearXML(Process process) throws IOException {
URI yearFile = createYearFile(getMetadataFilePath(process, false, true));
return fileExist(yearFile);
}
That should have the same effect.
Thats a pretty good idea! That way I also found that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must partial revert my last comment as I got confused by the changes which including some refactoring. On a new migrated database the values for So far as I know the database and its entries there is a |
fixes #4384