Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Rebalance.pm patch

Monitor
(16 lines)
Pull request: mogstats fix for Postgres
(10 lines)
Oct 28, 2010
Martijn Lina
Martijn Lina
Hi,

I'm finally trying the new Rebalance stuff and stubbled upon an error when
using a global limit. When the JobMaster tries to load the saved
rebal_state,
Rebalance.pm croaks because it doesn't recognize the saved setting 'limit'.

bye,
Martijn.

--- MogileFS/Rebalance.pm.orig  2010-10-28 12:34:02.000000000 +0200
+++ MogileFS/Rebalance.pm       2010-10-28 12:34:37.000000000 +0200
@@ -51,6 +51,7 @@
     sdev_current => 0,
     sdev_lastfid => 0,
     sdev_limit => 0,
+    limit => 0,
     fids_queued => 0,
     bytes_queued => 0,
     time_started => 0,
@@ -181,6 +182,7 @@
                     $parsed{$key} = $value;
                 }
             } else {
+debug("in _parse_settings; not dead yet, but invalid setting $key...");
                 croak "Invalid setting $key";
             }
         } else {



Reply
Tags: global limitjobmasterrebalcroaksrebalance
Messages in this thread
Rebalance.pm patch
reply Re: Rebalance.pm patch
(42 lines) Nov 25, 2010 06:00
Similar Threads
Neo Rebalance!
Yo, I've finally uploaded a working version of the rebalance implementation I've been thinking about for forever. It's inteface is very raw, and I'd like to hear feedback about ways to make it easier to use. I'll be filling in a wiki page with…
Rebalance stuck?
Hi, I have a problem with enable_rebalance. It seems that after a while it stopped working. Now i read in Store.pm about List::Util::shuffle() not being really random, is this still true? I've also setup a test environment to analyse the…
Re: Does anyone actively use rebalance?
Rebalance has been immensely useful to us. When adding new storage nodes, we are able to mitigate the damage from HD failures, are able to add nodes more sparingly, and just generally balances out load across storage nodes. ( 12 storage nodes, 6…
Rebalance docs, Roadmap, etc
First off, I have posted initial documentation for the unreleased rebalance overhaul: http://code.google.com/p/mogilefs/wiki/Rebalance Next, I have posted a quick Roadmap of all the major features I've been planning on working on: …
source socket, rebalance issues
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm running mogilefs 2.30 with 14 hosts with 4 devices each. When I !watch on one of my trackers, I see lots (several to many a minute) of messages like these: :: [replicate(9979)] Unable to create…
Re: source socket, rebalance issues
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8/23/10 12:24 PM, dormando wrote: >> It looks like the maxconns default is 10K and I don't set it explicitly. >> I assume that is connections that would show up in netstat? I'm seeing…
Patch for disabling the suexec stuff (Patch: mod_fcgid-2.3.5-disable_suexec_check.patch)
Hello list, I've added an extra option to mod_fcgid to turn off the suexec stuff. It's useful if you want to run the apache as non-root user and you need the speed of mod_fcgid. The default value is - of course - 0. The configuration line is…
Patch for longer values for 'FcgidInitialEnv' (Patch: increase-INITENV_VAL_LEN.patch)
Hello list, this trivial patch increased the max length for 'FcgidInitialEnv'. The default value of 128 Bytes is a little bit to small for enviromental variables and personally I've encountered real time values of more than >128 Bytes. So I…
PATCH/puppet 1/3] conf/redhat: Rebase rundir-perms patch
--- conf/redhat/rundir-perms.patch | 26 +++++++++++++
PATCH/puppet 1/1] Fix for #4465 -- earlier "feature" patch broke ldap
The patch for #3904 should not have been accepted; it's buggy and the use case (supporting having nodes in ldap more than once with the same name but distinct records) is ill-conceived. This commit reverts the patch (a7884b47) and the previous…
patch for bug
Hello, I created a patch for bug 3056 several weeks ago and uploaded it to bugzila, (here is the link https://issues.apache.org/bugzilla/show_bug.cgi?id=30563). I think the functionality described on the bug is really necessary for several…
whitespace patch
Hello all, In browsing through the code, I spent some time fixing up the whitespace -- mostly replacing tabs and putting '{' on new lines. The number of files it touches is large, but it is all just spaces and newlines. I've attached a patch.…
ICO format patch
Hi I've finished my patch for Sanselan that vastly improves support for ICO files, it now: Uses only the BITMAPINFOHEADER to parse the icon (using the ICONDIRENTRY is wrong and the tests included prove it) Adds support for writing ICO files Adds…
Patch sumitted for TS-320
I uploaded the patch for TS-320. It passes the regression tests as well as before the patch and seems to work in my limited direct testing. I think it's ready for some one else to take a look at.
On using 1.8.7 with patch level >= 249
Hi, the ruby driver page mentions this: > Note that if you’re on 1.8.7, be sure that you’re using a patchlevel >= 249. There are some IO bugs in earlier versions. Can anybody elaborate a bit on the IO bugs mentioned ? -- Thibaut
Patch testing
Folks, I'm working to get the pre-commit patch testing running again for HDFS, HADOOP, and MAPREDUCE patches. Since I've been on a bit of a hiatus from day-to-day involvement w/ the project over the last 6 months (new job), I want to check in…
logging patch bug
Why were ap_errorlog_format_item->min_loglevel and ap_errorlog_info->level declared with two different types?
How to get a upgrade patch
Hi,All I Use Ant to Get My project's release package, but now ,I need to get a upgrade patch, I can use TortoiseSVN to get this upgrade patch,but I can't use ant to get the same patch automatic, is any way to do this work? My project have php…
Re: tproxy2 patch to the apache 2.2.15
This is a multi-part message in MIME format. hello Junyong Jiang client <-----conn 1-----> tproxy <----- conn 2 ------> web server 211.x br0 : 10.a 10.b as…
Re: Applying ZooKeeper patch
To be clear we are shooting for a release candidate next week, it will take a few days after that to go through the process before an official release is available. Patrick On 07/29/2010 02:22 PM, Mahadev Konar wrote: > HI Vishal, > …