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

Fix work_mem recommendation to not be too low #39

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

RobAtticus
Copy link
Member

Given the inputs, the work_mem formulas could potentially return
values below 64KB, which is invalid and blocks PostgreSQL from
starting. These changes ensure that work_mem is always at least
64KB.

Fixes #38

@RobAtticus RobAtticus added the bug Something isn't working label Mar 5, 2019
@RobAtticus RobAtticus added this to the 0.4.2 milestone Mar 5, 2019
Given the inputs, the work_mem formulas could potentially return
values below 64KB, which is invalid and blocks PostgreSQL from
starting. These changes ensure that work_mem is always at least
64KB.

Also remove an unused regex in pkg/tstune
@codecov-io
Copy link

codecov-io commented Mar 5, 2019

Codecov Report

Merging #39 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   90.11%   90.17%   +0.06%     
==========================================
  Files          16       16              
  Lines         809      814       +5     
==========================================
+ Hits          729      734       +5     
  Misses         68       68              
  Partials       12       12
Impacted Files Coverage Δ
pkg/tstune/tuner.go 82.37% <ø> (ø) ⬆️
pkg/pgtune/memory.go 88.23% <100%> (+1.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 989cba8...baaec8c. Read the comment docs.

@RobAtticus RobAtticus merged commit 23f5d11 into timescale:master Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants