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

Improvements #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Improvements #41

wants to merge 3 commits into from

Conversation

hrchu
Copy link

@hrchu hrchu commented Sep 20, 2016

Three improvements according to our production use experience:

  • fix compatible problem when use apache as storage node server.
  • fix false positive test failure
  • Take a more acceptable balance between space and cpu/io utilization when allocating new file.

Apache doesn't return a Content-Length header for zero byte files. So we add a
specific workaround for it. If it's not apache, we should still throw errors if
that header is missing.
The original iteration value causes the rebalance test failure on some low
level box.
Mogilefs only consider space balance when allocates new file. The behavior
causes cpu and io hotspot on new add disks, and is significant for a busy
cluster. This modification try to take a more acceptable balance between space
and cpu/io utilization.
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.

1 participant