Skip to content
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

function to recalculate the repository size (on-demand) #26

Closed
wants to merge 1 commit into from
Closed

function to recalculate the repository size (on-demand) #26

wants to merge 1 commit into from

Conversation

jmacwilliams
Copy link
Contributor

/rest/objects/calcSize will forcibly recalculate the size of the repository and return the resultant DescribeRepository. Its brute force, so its not pretty, but it gets the right numbers.

@cbeer
Copy link
Contributor

cbeer commented Feb 25, 2013

Tests?

I'm also worried about the performance problems with walking all the nodes like this.. of course, if the calculation is right...and if we have tests, we have something to work against with the index-reader..

@ajs6f
Copy link
Contributor

ajs6f commented Feb 25, 2013

Infinispan does offer MapReduce functionality that might make parallelizing this a little less awful. If this turns out to be the way we have to go...

@barmintor
Copy link
Contributor

I'm assuming this has been superseded by the RepositoryService#getRepositorySize, and closing the pull request.

@barmintor barmintor closed this Mar 27, 2013
birkland pushed a commit to birkland/fcrepo4 that referenced this pull request Jul 22, 2016
Add maintainer section. Address FCREPO-1745.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants