Skip to content

Comments

batch single shard slot assignment commands to avoid k8s api errors#1667

Open
JulianPaulus wants to merge 4 commits intoOT-CONTAINER-KIT:mainfrom
sap-contributions:single-shard-batch-main
Open

batch single shard slot assignment commands to avoid k8s api errors#1667
JulianPaulus wants to merge 4 commits intoOT-CONTAINER-KIT:mainfrom
sap-contributions:single-shard-batch-main

Conversation

@JulianPaulus
Copy link

Description

Previously the operator ran one very large command when assigning slots to a single shard cluster. On some kubernetes distributions this could lead to http errors due to the pure size of the request. This PR aims to lessen the impact of this a bit by assigning slots in multiple batches.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Tests have been added/modified and all tests pass.
  • Functionality/bugs have been confirmed to be unchanged or fixed.
  • I have performed a self-review of my own code.
  • Documentation has been updated or added where necessary.

lilatomic and others added 4 commits February 12, 2026 11:47
fix: Extract struct to help properly order redis invocation

The command passed to Redis must come after the flags.
This struct allows for flags to be set after the command for redis is defined.

Signed-off-by: Daniel Goldman <danielgoldman4@gmail.com>
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