Skip to content

Improvements#41

Open
hrchu wants to merge 3 commits intomogilefs:masterfrom
hrchu:smallSteps
Open

Improvements#41
hrchu wants to merge 3 commits intomogilefs:masterfrom
hrchu:smallSteps

Conversation

@hrchu
Copy link
Copy Markdown

@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