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

[Cassandra] Display tree check #89

Open
sylvlecl opened this issue May 25, 2021 · 0 comments
Open

[Cassandra] Display tree check #89

sylvlecl opened this issue May 25, 2021 · 0 comments
Assignees

Comments

@sylvlecl
Copy link
Contributor

  • Do you want to request a feature or report a bug?

Feature

  • What is the current behavior?

We cannot print the whole filesystem tree structure efficiently and exhaustively (see for example orphan nodes which cannot be accessed by the API). That possibility would help maintenance.

  • What is the expected behavior?

Provide a DISPLAY_TREE check in CassandraAppStorage which will output (in an "issue" description) the tree of nodes, for example in an ASCII formatted tree.
This can be done efficiently by getting all the content of the children_by_name_and_class table, which should be fairly small.

For each node, we should provide the ID, the NAME, and the PSEUDO_CLASS.

Note that we should be more tolerant than the normal reads with invalid values (null values ...) : in particular, we should be able to print orphan nodes and their sub-trees?

  • What is the motivation / use case for changing the behavior?

Helping understanding AFS issues in production systems.

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

2 participants