Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 16, 2014
  1. @dormando

    Checking in changes prior to tagging of version 2.29.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index c3bb0e6..6e65563 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,9 @@
    +2.29 -- 2014-12-15
    +
    +   * Add exit codes when failing. (Jesus Roncero <jesus@we7.com>)
    +
    +   * mogadm: add "device next" sub-command (Eric Wong <normalperson@yhbt.net>)
    +
     2.28 -- 2013-08-07
    
        * mogadm: improve "device list" formatting (Eric Wong <normalperson@yhbt.net>)
Commits on Dec 15, 2014
  1. @octete

    Add exit codes when failing.

    octete authored Eric Wong committed
    On mogdelete, mogfetch and moglistkeys when failing, it writes to STDERR
    with there's an error, but it exits with 0. Change it to exist with an
    error.
    
    Signed-off-by: Eric Wong <normalperson@yhbt.net>
Commits on Oct 17, 2013
  1. mogadm: add "device next" sub-command

    Eric Wong authored
    This is a convenience command to ease the process of adding devices
    to a cluster.  This may be useful when there are many devices to be
    added.  This provides no synchronization and multiple administrative
    users will still have to coordinate device additions to avoid errors
    on duplicates.
    
    Adding synchronization would require extending the tracker
    protocol, and is probably not worth the complexity.
Commits on Aug 8, 2013
  1. @dormando

    Checking in changes prior to tagging of version 2.28.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index d7535d7..c3bb0e6 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,17 @@
    +2.28 -- 2013-08-07
    +
    +   * mogadm: improve "device list" formatting (Eric Wong <normalperson@yhbt.net>)
    +
    +   * mogadm: include drain devices by default in summary (Eric Wong <normalperson@yhbt.net>)
    +
    +   * mogadm: do not warn about drain unless drain is specified (Eric Wong <normalperson@yhbt.net>)
    +
    +   * mogadm: improve error message on module load error (Eric Wong <normalperson@yhbt.net>)
    +
    +   * mogfiledebug: add --paths=<print|stat|fetch> option (Eric Wong <normalperson@yhbt.net>)
    +
    +   * mogfiledebug: show Last-Modified header if available (Eric Wong <normalperson@yhbt.net>)
    +
     2.27 -- 2013-01-11
    
        * mogupload no longer slurps files into memory if the size is known ahead
  2. @dormando

    mogadm: improve "device list" formatting

    Eric Wong authored dormando committed
    With multi-terabyte disks being commong nowadays, the formatting of
    "mogadm device list" output has become cramped and hard-to-read.
    Additionally, right justifying numeric values makes identifying
    order-of-magnitude differences between rows easier:
    
    before:
                       used(G) free(G) total(G) weight(%)
     dev11: alive      1267.246 1483.296 2750.542  100
      dev2: alive      1196.321 637.334 1833.655  100
      dev5: alive      1220.643 154.568 1375.211  100
      dev6: alive      2072.875 677.667 2750.542  100
      dev7: alive      995.188 380.022 1375.211  100
    
    after:
    
                        used(G)    free(G)   total(G)  weight(%)
      dev11:   alive   1267.246   1483.296   2750.542        100
       dev2:   alive   1196.321    637.334   1833.655        100
       dev5:   alive   1220.643    154.568   1375.211        100
       dev6:   alive   2072.875    677.667   2750.542        100
       dev7:   alive    995.188    380.022   1375.211        100
  3. @dormando

    mogadm: include drain devices by default in summary

    Eric Wong authored dormando committed
    drain devices are still usable to clients, so it probably makes
    sense to include this in the default output of "mogadm device summary"
    (especially given the drain change in 2.40)
    
    Not including drain devices by default confused me at first, so
    perhaps it may be confusing to others.
  4. @dormando

    mogadm: do not warn about drain unless drain is specified

    Eric Wong authored dormando committed
    Unnecessarily displaying the warning about "drain" is potentially
    confusing and scary to new users, especially if they've never
    used MogileFS before.
  5. @dormando

    mogadm: improve error message on module load error

    Eric Wong authored dormando committed
    On Thu, 6 Jun 2013 19:40:46 -0700, David Birdsong reported
    issues to the mailing list about a load failure with mogadm.
    Preserve the original $@ error message to hopefully give more
    information about failure and aid in diagnosing the problem.
  6. @dormando

    mogfiledebug: add --paths=<print|stat|fetch> option

    Eric Wong authored dormando committed
    This allows users to bypass expensive file fetching and
    checksumming for large files and/or slow links.
  7. @dormando

    mogfiledebug: show Last-Modified header if available

    Eric Wong authored dormando committed
    This can be useful in several cases:
    
    1) it may be used to determine the original version of the file
       if one copy was corrupted during replication
    
    2) it can also be used to determine when replication congestion
       occurred by comparing the relative differences between
       replicas.
Commits on Jan 11, 2013
  1. @dormando

    Checking in changes prior to tagging of version 2.27.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index d6817c4..d7535d7 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,14 @@
    +2.27 -- 2013-01-11
    +
    +   * mogupload no longer slurps files into memory if the size is known ahead
    +     of time. (Eric Wong)
    +
    +   * Support "mogadm device (list|summary) --hostname=..." (Eric Wong)
    +
    +   * Show weight in "mogadm device list" (Eric Wong)
    +
    +   * mogfiledebug: no longer requires --domain when in --fid mode (Eric Wong)
    +
     2.26 -- 2012-08-13
    
        * Fix from Eric Wong to make IO column display N/A if iostat is broken,
Commits on Jan 10, 2013
  1. @dormando

    mogfiledebug: do not require --domain for --fid

    Eric Wong authored dormando committed
    Specifying a domain (even a valid, non-existent one) when one is
    not needed hurts usability and confuses users.  Set a dummy
    domain for MogileFS::Client if a domain is unspecified and --fid
    is used.
  2. @dormando

    mogadm: show weight in "mogadm device list"

    Eric Wong authored dormando committed
    mogadm provides a way to set the device weight, so there should
    be a way to view it from the same tool.
    
    Conflicts:
    	mogadm
Commits on Jan 9, 2013
  1. support "mogadm device (list|summary) --hostname=..."

    Eric Wong authored
    For large clusters with many hosts/devices, it is often helpful
    to only show the devices for a given host.
    
    This functionality is useful for me since "mogadm device list"
    output is not grep-friendly.
  2. mogupload: avoid slurping regular files into memory

    Eric Wong authored
    This allows uploading of large files that do not fit into memory
    again.  Data piped via stdin still uses a huge in-memory buffer
    since server support for Content-Range/Transfer-Encoding:chunked
    is inconsistent.
Commits on Aug 14, 2012
  1. @dormando

    Checking in changes prior to tagging of version 2.26.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 2efca1f..d6817c4 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,8 @@
    +2.26 -- 2012-08-13
    +
    +   * Fix from Eric Wong to make IO column display N/A if iostat is broken,
    +     rather than 0%
    +
     2.25 -- 2012-06-26
    
        * Simple fix fixing the previous fix to work again for all non-Postgres DBs
Commits on Aug 12, 2012
  1. @dormando

    mogadm check shows "N/A" util on hosts w/o iostat

    Eric Wong authored dormando committed
    Instead of falsely reporting zero I/O utilization, this helps
    admins detect broken configurations where iostat reporting is
    not available or misconfigured
    
    Tested on both a properly configured cluster and a misconfigured
    cluster (which I'm sad to admit I have one lying around :x).
    
    ref: http://code.google.com/p/mogilefs/issues/detail?id=9
Commits on Jun 26, 2012
  1. @dormando

    Checking in changes prior to tagging of version 2.25.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 5cb13a6..2efca1f 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,8 @@
    +2.25 -- 2012-06-26
    +
    +   * Simple fix fixing the previous fix to work again for all non-Postgres DBs
    +     :( (dormando)
    +
     2.24 -- 2012-06-21
    
        * Simple fix for mogstats file length display overflow on Postgres
  2. @dormando

    Fix mogstats for all non-postgres DB's :(

    dormando authored
    I doofused on the previous commit
Commits on Jun 22, 2012
  1. @dormando

    Checking in changes prior to tagging of version 2.24.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 2651db2..5cb13a6 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,7 @@
    +2.24 -- 2012-06-21
    +
    +   * Simple fix for mogstats file length display overflow on Postgres
    +
     2.23 -- 2012-03-30
    
        * Support checksums in mogadm (eric wong)
Commits on Jun 20, 2012
  1. @dormando

    Fix for integer overflow in mogstats on postgres

    dormando authored
    by ch1qu1ta.lives on google.
Commits on Mar 30, 2012
  1. @dormando

    Checking in changes prior to tagging of version 2.23.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 65de790..2651db2 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,11 @@
    +2.23 -- 2012-03-30
    +
    +   * Support checksums in mogadm (eric wong)
    +
    +   * Clean mogfiledebug output (dormando)
    +
    +   * Misc util fixes (dormando)
    +
     2.22 -- 2012-01-27
    
        * Fix bug in mogstats config file parsing. Valid values with '#' were being
  2. @dormando

    bump client version req for checksums

    dormando authored
    so we can display class hash info
  3. @dormando
  4. @dormando

    make it more obvious you can fetch by fid

    dormando authored
    when domain/key are missing, mogfiledebug can still be used. make a point of
    that.
  5. @dormando

    clean up mogfiledebug's output a bit

    dormando authored
    don't throw errors on 404's or 0 byte files. space output a bit to be more
    readable.
  6. @dormando

    show checksum in mogfiledebug

    dormando authored
Commits on Feb 28, 2012
  1. mogadm: support for enabling/disabling/viewing checksums

    Eric Wong authored
    hashtype is shown as string, e.g. "MD5" or "NONE" (the default).
Commits on Jan 28, 2012
  1. @dormando

    Checking in changes prior to tagging of version 2.22.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index a38ef11..65de790 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,4 +1,7 @@
    -2.21 -- 2011-12-16
    +2.22 -- 2012-01-27
    +
    +   * Fix bug in mogstats config file parsing. Valid values with '#' were being
    +     truncated (Bartzy)
    
        * Add "mogrename" utility script (kwilczynski, Krzysztof Wilczynski).
  2. @dormando

    Fixed bug with config reading - valid values with '#' get truncated.

    Bar Ziony authored dormando committed
  3. @kwilczynski @dormando

    Fix POD documentation to reflect changes in style.

    kwilczynski authored dormando committed
    This aligns command line arguments parsing style with POD documentation.
    
    Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Commits on Jan 15, 2012
  1. @dormando

    style cleanup for mogrename

    dormando authored
    fix the pod docs a bit and change -'s to _'s in options to be consistent with
    other utils.
  2. @kwilczynski @dormando

    Add "mogrename" utility script.

    kwilczynski authored dormando committed
    Adding simple mogrename utility script that allows for renaming file (key)
    form an old key to a new key easily.
    
    Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Commits on Jan 14, 2012
  1. @dormando

    capitlization in perldoc

    dormando authored
    thanks dsteinbrunner :)
Commits on Oct 29, 2011
  1. @dormando

    Checking in changes prior to tagging of version 2.21.

    dormando authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index ee14abb..779f35e 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,3 +1,7 @@
    +2.21 -- 2011-10-29
    +
    +   * Improve error handling for broken usage files in `mogadm check`
    +
     2.20 -- 2011-06-15
    
        * Remove redundant tracker calls. Required for MogileFS::Server 2.50 as
Something went wrong with that request. Please try again.