Skip to content

Correctly sort in volume.list to ensure output consistency #6866

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

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

NyaMisty
Copy link
Contributor

What problem are we solving?

Improve output consistency for volume.list (i.e. same output if system state didn't change between calls)

How are we solving the problem?

By adding sortMapKeys() call in all map-related operations.

How is the PR tested?

Because it's a inspect-only command, we tested it by hand

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

@chrislusf chrislusf merged commit cdc543a into seaweedfs:master Jun 16, 2025
7 checks passed
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.

2 participants