Skip to content

Conversation

samrose
Copy link
Collaborator

@samrose samrose commented Nov 28, 2024

What kind of change does this PR introduce?

oriole needs different shared_buffer treatment/lower value, so for now we'll detect and set oriole to 32MB shared_buffers.

Once we have multiple sizes available, we'll check instance size and stagger it.

@samrose samrose requested a review from a team as a code owner November 28, 2024 22:52
Copy link
Contributor

@darora darora left a comment

Choose a reason for hiding this comment

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

Approving to unblock testing, but this logic should not be here in this repo, it should be in admin-api

update_orioledb_buffers "$shared_buffers_value"

# Update shared_buffers during alpha release to 32MB
# TODO will need to add logic here for different ec2 sizes
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's not duplicate that logic here. The right place to do it is in the internal binary that already generates these for our current setup.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@darora ok I will look into how to add that appropriately in admin-api closing this

@samrose samrose closed this Nov 28, 2024
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