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

Release 2024-04-11(ish) cherry-pick #7348 #7356

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

sharnoff
Copy link
Member

@sharnoff sharnoff commented Apr 10, 2024

Release 2024-04-11(ish), #7348

Cherry-picked a single PR - #7348. See there, or neondatabase/cloud#12047 for more.

ref https://neondb.slack.com/archives/C04DGM6SMTM/p1712776981582679

Part of neondatabase/cloud#12047.

The basic idea is that for our VMs, we want to enable swap and disable
Linux memory overcommit. Alongside these, we should set postgres'
dynamic_shared_memory_type to mmap, but we want to avoid setting it to
mmap if swap is not enabled.

Implementing this in the control plane would be fiddly, but it's
relatively straightforward to add to compute_ctl.
@sharnoff sharnoff requested review from a team as code owners April 10, 2024 20:16
@sharnoff sharnoff requested review from nikitakalyanov and MMeent and removed request for a team April 10, 2024 20:16
@sharnoff sharnoff changed the title compute_ctl: Auto-set dynamic_shared_memory_type (#7348) Release 2024-04-11(ish) cherry-pick #7348 Apr 10, 2024
compute_tools/src/config.rs Show resolved Hide resolved
Copy link

2754 tests run: 2636 passed, 0 failed, 118 skipped (full report)


Flaky tests (1)

Postgres 14

  • test_empty_branch_remote_storage_upload: debug

Code coverage* (full report)

  • functions: 28.0% (6405 of 22858 functions)
  • lines: 46.8% (45095 of 96259 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
0519138 at 2024-04-10T21:00:49.414Z :recycle:

@sharnoff sharnoff merged commit e0addc1 into release Apr 11, 2024
49 of 51 checks passed
@sharnoff sharnoff deleted the rc/2024-04-11-#7348 branch April 11, 2024 16:46
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.

3 participants