Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231279

Summary: net-misc/memcached-1.2.5: typo in the help output of memcached-tool
Product: Gentoo Linux Reporter: Andrew Smith <espadav8>
Component: [OLD] ServerAssignee: Robin Johnson <robbat2>
Status: RESOLVED UPSTREAM    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Simple patch to correct the typo

Description Andrew Smith 2008-07-09 10:06:28 UTC
The help output for memcached-tool has an incorrectly spelled 'time'.

Reproducible: Always

Steps to Reproduce:
1. memcached-tool
2. check output
3.

Actual Results:  
Usage: memcached-tool <host[:port]> [mode]

       memcached-tool 10.0.0.5:11211 display    # shows slabs
       memcached-tool 10.0.0.5:11211            # same.  (default is display)
       memcached-tool 10.0.0.5:11211 stats      # shows general stats
       memcached-tool 10.0.0.5:11211 move 7 9   # takes 1MB slab from class #7
                                                # to class #9.

You can only move slabs around once memory is totally allocated, and only
once the target class is full.  (So you can't move from #6 to #9 and #7
to #9 at the same _itme_, since you'd have to wait for #9 to fill from
the first reassigned page)

Expected Results:  
Usage: memcached-tool <host[:port]> [mode]

       memcached-tool 10.0.0.5:11211 display    # shows slabs
       memcached-tool 10.0.0.5:11211            # same.  (default is display)
       memcached-tool 10.0.0.5:11211 stats      # shows general stats
       memcached-tool 10.0.0.5:11211 move 7 9   # takes 1MB slab from class #7
                                                # to class #9.

You can only move slabs around once memory is totally allocated, and only
once the target class is full.  (So you can't move from #6 to #9 and #7
to #9 at the same _time_, since you'd have to wait for #9 to fill from
the first reassigned page)

Emphasis mine
Comment 1 Andrew Smith 2008-07-09 10:06:55 UTC
Created attachment 159946 [details, diff]
Simple patch to correct the typo
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-07-13 19:10:45 UTC
it's just a typo. take it to upstream.