Skip to content

Conversation

@cancan101
Copy link
Contributor

  • add generic-data-index:cleanup:unused-indices command
  • default behavior deletes unmanaged stale -odd/-even indices not referenced by aliases
  • add --dry-run option to preview deletions without changes
  • implement UnusedIndexCleanupService to detect candidates via prefix + alias diff
  • add unit tests for selection, dry-run, and execute behavior
  • document new cleanup command in index management docs

Changes in this pull request

Resolves #382

Additional info

- add generic-data-index:cleanup:unused-indices command
- default behavior deletes unmanaged stale -odd/-even indices not referenced by aliases
- add --dry-run option to preview deletions without changes
- implement UnusedIndexCleanupService to detect candidates via prefix + alias diff
- add unit tests for selection, dry-run, and execute behavior
- document new cleanup command in index management docs
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2026

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.

[Bug] Duplicate Indices (even vs odd) - not cleaned up on reindex

1 participant