-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
etcdserver, backend: configure mmap size based on quota #7525
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, after go import fixes
ee92272
to
7468669
Compare
7468669
to
8a3fee1
Compare
Codecov Report
@@ Coverage Diff @@
## master #7525 +/- ##
==========================================
+ Coverage 70.23% 70.23% +<.01%
==========================================
Files 320 320
Lines 26205 26223 +18
==========================================
+ Hits 18405 18419 +14
- Misses 6343 6352 +9
+ Partials 1457 1452 -5
Continue to review full report at Codecov.
|
plog.Warningf("backend quota %v exceeds maximum quota %v; using maximum", s.Cfg.QuotaBackendBytes, backend.MaxQuotaBytes) | ||
return &backendQuota{s, backend.MaxQuotaBytes} | ||
if s.Cfg.QuotaBackendBytes > MaxQuotaBytes { | ||
plog.Warningf("backend quota %v exceeds maximum recommended quota %v", s.Cfg.QuotaBackendBytes, MaxQuotaBytes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so we change the behavior here to allow user to use more than 8gb?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
LGTM |
lgtm |
Mechanism for permitting mmaps > 10GB.