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

NSFS | NC | Avoid vacuumAndAnalyze on nc nsfs without db #7737

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

romayalon
Copy link
Contributor

Explain the changes

  1. Avoid vacuumAndAnalyze call on nc nsfs without db environment. (more places like sts_rest and namespace_montior calling system_store)

Issues: Fixed #xxx / Gap #xxx

  1. will fix Noobaa_nsfs service restarts due to panic on 2 of the protocol nodes #7735
  2. make sts_rest and namespace_monitor work on nc nsfs without db.

Testing Instructions:

  1. manually change postgres_client.PostgresTable.constructor setInterval(this.vacuumAndAnalyze, 86400000, this).unref(); to setInterval(this.vacuumAndAnalyze, 1, this).unref();
  2. sudo node src/cmd/nsfs.js
  • Doc added/updated
  • Tests added

Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
@romayalon romayalon merged commit 0930556 into noobaa:master Jan 18, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Noobaa_nsfs service restarts due to panic on 2 of the protocol nodes
3 participants