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

File count accuracy #1327

Open
hectorcorrea opened this issue Feb 25, 2025 · 1 comment
Open

File count accuracy #1327

hectorcorrea opened this issue Feb 25, 2025 · 1 comment

Comments

@hectorcorrea
Copy link
Member

hectorcorrea commented Feb 25, 2025

The file count that we display on the project page (see screenshot below) uses a value that comes from an accumulator, but sometimes the accumulator is not up to date and the file count displayed is different from the files that we include in the file inventory

Image

Below are some queries that show this discrepancy:

> asset.query :collection 555360115 :include-destroyed true :action count
    :value -nbe "2605453" "2605453"
> asset.query :collection 555360115 :include-destroyed false :action count
    :value -nbe "2115517" "2115517"
asset.get  :id 555360115
...
            :accumulator -type "collection.asset.count" -name "prosody-count"
                :stime "5779984973"
                :value
                    :collections "9025"
                    :non-collections "2351816"
...

Chuck is aware of this and it's looking into it but I wanted to document it since we are probably going to start getting questions about it.

@hectorcorrea
Copy link
Member Author

Chuck will turn on asset.collection.member.statistics.create at the /tigerdata level and that should cascade down to all collections and give us the data that we need.

The data would look more or less like this when we issue asset.get (the example below is for a different collection than the one references above but it shows the fields that we'll get)

:statistics
				:collections "7"
				:non-collections "110"
				:total-size -h "169.689 GB" "169689460092"
				:soft-destroyed
					:collections "5"
					:non-collections "108"
					:total-size -h "169.689 GB" "169689457664"

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

No branches or pull requests

1 participant