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

Hazard and hazard dataset deletions are not working properly #261

Open
ylyangtw opened this issue Jan 18, 2024 · 0 comments
Open

Hazard and hazard dataset deletions are not working properly #261

ylyangtw opened this issue Jan 18, 2024 · 0 comments

Comments

@ylyangtw
Copy link
Contributor

Issue description:

  • A user's allocation is negative value and the quota is full after he claimed he deleted a bunch of files
{
    "_id" : ObjectId("6244c0293cca3890e87e0735"),
    "className" : "edu.illinois.ncsa.incore.common.models.UserAllocations",
    "username" : "mxa261",
    "usage" : {
        "className" : "edu.illinois.ncsa.incore.common.models.UserUsages",
        "datasets" : NumberInt(-18),
        "hazards" : NumberInt(0),
        "hazardDatasets" : NumberInt(22),
        "dfr3" : NumberInt(18),
        "datasetSize" : NumberLong(0),
        "hazardDatasetSize" : NumberLong(575395127)
    }
}
  • All the ids in his space couldn't be found
{
    "_id" : ObjectId("60d21ce4d3c92a78c88fd4f6"),
    "className" : "edu.illinois.ncsa.incore.common.models.Space",
    "metadata" : {
        "className" : "edu.illinois.ncsa.incore.common.models.SpaceMetadata",
        "name" : "mxa261"
    },
    "privileges" : {
        "className" : "edu.illinois.ncsa.incore.common.auth.Privileges",
        "userPrivileges" : {
            "mxa261" : "ADMIN"
        }
    },
    "members" : [
        "618de80fc252b35b63843786",
        "618de887eb5adf3936e01e4a",
        "618deaae98c35d24cc573ae0",
        "618deb3b60aac717f6ac4c32",
        "618debc3c252b35b63843787",
        "618ded18eb5adf3936e01e4b",
        "618ded5498c35d24cc573ae1",
        "618ded7960aac717f6ac4c33",
        "618def26c252b35b63843788",
        "618defd2eb5adf3936e01e4c",
        "618df08498c35d24cc573ae2",
        "618df0e060aac717f6ac4c34",
        "618df239eb5adf3936e01e4d",
        "618df27b98c35d24cc573ae3",
        "618df2d760aac717f6ac4c35",
        "618df32cc252b35b6384378a",
        "618df5c198c35d24cc573ae4",
        "6453ec19c846a8173e03f50f",
        "65a9867801161f0686b40b52",
        "65a9868f01161f0686b40b53",
        "65a98692bb350e5e341db27e",
        "65a986aabb350e5e341db27f"
    ]
}
  • the bottom few ids are hazard dataset e.g. 65a98692bb350e5e341db27e; but the hazard itself has been deleted.
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