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

Fix command stats and status #2290

Merged
merged 4 commits into from
Aug 9, 2021
Merged

Conversation

Rahmon
Copy link
Contributor

@Rahmon Rahmon commented Aug 3, 2021

Description of the Change

This change fixes the stats and status command in a multisite scenario when there are sites not indexed.

Alternate Designs

Benefits

Correct status about indexes

Possible Drawbacks

Verification Process

  1. Have a multisite
  2. Have multiple sites
  3. Index only one of the sites
  4. wp elasticpress stats / wp elasticpress status
  5. See the correct information for sites indexed and "is not currently indexed" otherwise.

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

Closes: #2276

Changelog Entry

Fixed command stats and status in a multisite scenario.

@Rahmon Rahmon added the bug Something isn't working label Aug 3, 2021
@Rahmon Rahmon added this to the 3.6.2 milestone Aug 3, 2021
@Rahmon Rahmon requested a review from felipeelia August 3, 2021 21:45
@felipeelia felipeelia assigned Rahmon and unassigned felipeelia Aug 9, 2021
@Rahmon Rahmon merged commit 62ca2ee into develop Aug 9, 2021
@Rahmon Rahmon deleted the fix/status-stats-command-multisite branch August 9, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: status and stats commands will fail in some multisite scenarios
2 participants