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

Space Accounting may encounter erroneous state on data migration #4

Closed
jwuensche opened this issue Aug 13, 2022 · 2 comments
Closed

Comments

@jwuensche
Copy link
Owner

This has been observed sporadically when many nodes are migrated. In observed cases, the free storage counter overstepped the total counter which should not happen at all, but some construction may lever this behavior. Needs further investigation.

@jwuensche
Copy link
Owner Author

Recovered from observed case:

[src/scientific_evaluation.rs:50] client.database.read().free_space_tier() = [
    StorageInfo {
        free: Block(
            1112623,
        ),
        total: Block(
            4194304,
        ),
    },
    StorageInfo {
        free: Block(
            5480030,
        ),
        total: Block(
            5242880,
        ),
    },
    StorageInfo {
        free: Block(
            0,
        ),
        total: Block(
            0,
        ),
    },
    StorageInfo {
        free: Block(
            0,
        ),
        total: Block(
            0,
        ),
    },
]

@jwuensche
Copy link
Owner Author

This has been fixed with the rework of the migration policy.

jwuensche added a commit that referenced this issue Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant