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

Feat/Add sphinx/searchd batch size field #261

Merged
merged 2 commits into from
May 22, 2023
Merged

Conversation

slopezz
Copy link
Member

@slopezz slopezz commented May 19, 2023

From https://github.com/3scale/3scale-saas/pull/592#issuecomment-1540376532

Sphinx/searchd batch size is reduced in SaaS compared to default porta image config (from 1000 to 100).

Right now in saas-operator we are configuring it only in sphinx statefulset (which will be deprecated soon in favour of searchd), however this makes no sense, since this value need to be on the sphinx clients (so system-app, system-console and system-sidekiq-X deployment/statefulsets).

  • This is right now configured on the sphinx clients (system-app, system-console and system-sidekiq-X deployment/statefulsets) through a harcoded value on a config file we are mounting inside the system-config-secret
    image
  • This PR enabled to get rid of this config file inside the secret, in favor of using an envvar properly on the sphinx clients (so system-app, system-console and system-sidekiq-X deployment/statefulsets).
    image
  • It is possible that in the future, the searchd indexation gets executed on a job/pipeline, but thanks to this PR it can be executed also on any system pod (like system-console).

/kind feature
/priority important-soon
/assign

@3scale-robot 3scale-robot added kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next sprint. needs-size Indicates a PR or issue lacks a `size/foo` label and requires one. size/M Requires about a day to complete the PR or the issue. and removed needs-size Indicates a PR or issue lacks a `size/foo` label and requires one. labels May 19, 2023
@3scale-robot 3scale-robot requested review from raelga and roivaz May 19, 2023 14:51
@slopezz
Copy link
Member Author

slopezz commented May 19, 2023

cc @mayorova

@3scale-robot 3scale-robot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2023
@3scale-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: fb66e8b3879a348f6af453857369528118afa9ad

@slopezz slopezz force-pushed the feat/sphinx-batch-size branch from 10ee86a to 7425819 Compare May 22, 2023 11:22
@3scale-robot 3scale-robot removed the lgtm Indicates that a PR is ready to be merged. label May 22, 2023
@3scale-robot 3scale-robot requested a review from roivaz May 22, 2023 11:23
@3scale-robot 3scale-robot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2023
@3scale-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 248f51d001b46d84631d4d1a4d94adbedc29030d

Copy link
Contributor

@3scale-robot 3scale-robot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@3scale-robot 3scale-robot self-assigned this May 22, 2023
@slopezz
Copy link
Member Author

slopezz commented May 22, 2023

/approve

@3scale-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: slopezz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@3scale-robot 3scale-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 22, 2023
@3scale-robot 3scale-robot merged commit 0516d62 into main May 22, 2023
@3scale-robot 3scale-robot deleted the feat/sphinx-batch-size branch May 22, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next sprint. size/M Requires about a day to complete the PR or the issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants