Permalink
Commits on Sep 1, 2010
  1. bug 2231 - more printfs on hash choice

    Change-Id: Iad197c5aab5fdff04704b0bd1b4792fa7339b62b
    steveyen committed Sep 1, 2010
Commits on Aug 31, 2010
  1. bug 2253 - incorrect log level for bin err response

    Change-Id: I7f1498c1e4f307dccd18ba74de164ab1cdf4a179
    steveyen committed Aug 31, 2010
Commits on Aug 29, 2010
  1. passes ./t/moxi_multitenancy.py with NULL bucket tests

    former assertions no longer hold because of the NULL bucket
    
    Change-Id: I3e1d739a00555700ccff6bbecdf69abd0be2c306
    steveyen committed Aug 29, 2010
  2. bug 2240 - don't attempt to merge some stats

    For version, libevent, ep_some_non-numeric_keys, just pick the 1st
    result instead of trying to add values.  An alternative might be
    to filter out these stats lines, but this is the simplest thing
    at this point.
    
    Change-Id: I8cf1152bdf440d8840216b5b4b5a2475aa1c5362
    steveyen committed Aug 29, 2010
  3. bug 2231 - updated cmdline for libmemcached usage

    Change-Id: I8c3c269c26c5d59602e812f9588e1325c48b616d
    steveyen committed Aug 29, 2010
  4. bug 2231 - json'ish config means libvbucket, otherwise libmemcached

    Something the like following triggers libmemcached, as the config
    doesn't look like json...
    
      ./moxi -z 11311=somehost:11211,anotherhost:11211
    
    But, the following, in contrast, triggers libvbucket...
    
      ./moxi -z 11311={some json here}
    
    Change-Id: I1c1d720489a3be407e07391aacd7d749827b9a61
    steveyen committed Aug 29, 2010
  5. bug 2231 - MOXI_USE_LIBVBUCKET and MOXI_USE_LIBMEMCACHED

    Change-Id: I29c6e647aab50ee6510951487e107ce3d8480514
    steveyen committed Aug 28, 2010
Commits on Aug 28, 2010
  1. bug 2231 - refactor mcs to allow for lvb versus lmc implementations

    Instead a giant compile-time #ifdef/#else/#end, this refactoring is a
    steps towards allowing both libvbucket/lvb and libmemcached/lmc to
    exist at the same time, with a runtime mcs_kind flag that records how
    each configuration was parsed.
    
    Change-Id: If912d7c178fe2c48ba71b26f1251e5f6f356a63a
    steveyen committed Aug 28, 2010
Commits on Aug 27, 2010
  1. bug 1720 - don't use libmemcached return codes directly

    This is a step towards allowing both libmemcached and libvbucket
    to be cmd-line configured, rather than build-time configured.
    
    Change-Id: I25e702aa1a35b3c38d6705ccd31b645aa96ff112
    steveyen committed Aug 27, 2010
  2. htgram made consistent with memcached/moxi license

    Change-Id: I6f1ee6cb8298a1d4837a838e5b02bddb8cc2e1bf
    steveyen committed Aug 25, 2010
  3. htgram_dump() moved to htgram.c/h

    Change-Id: I39f136c290f12945af30c4f3effc8c7b8c39ecab
    steveyen committed Aug 24, 2010
  4. bug 2164 - allows URL's only at end of cmd-line params

    Change-Id: Ib632c5199bf952bd5ee92ba518efc83d31e95d16
    steveyen committed Aug 24, 2010
  5. bug 2201 - cummulative percentages for histogram dumps

      $ echo "stats proxy timings" | nc 127.0.0.1 11511
      STAT 11511:default:reserved     0+100  =93790 65.24% ************************
      STAT 11511:default:reserved   100+100  =48792 99.18% ************
      STAT 11511:default:reserved   200+100  =488   99.52%
      STAT 11511:default:reserved   300+100  =201   99.66%
      STAT 11511:default:reserved   400+100  =94    99.73%
      [...cut...]
      STAT 11511:default:reserved  8300+6400 =21    99.99%
      STAT 11511:default:reserved 14700+12800=6    100.00%
      STAT 11511:default:reserved 27500+25600=2    100.00%
      STAT 11511:default:reserved 53100+51200=0    100.00%
      END
    
    Change-Id: Iaf98eb742d7521509e127cd21460698e061bceff
    steveyen committed Aug 24, 2010
  6. added histogram for connect times

    Change-Id: Ife6ca9a49670bb66fd154114abc8b1b00d5ed4e5
    steveyen committed Aug 24, 2010
  7. emitting histogram during "stats proxy timings"

    Sample output...
    
    $ echo "stats proxy timings" | nc localhost 11511
    STAT 11511:default:timing   100+100  =1222 ***************
    STAT 11511:default:timing   200+100  =2233 *****************************
    STAT 11511:default:timing   300+100  =1556 ********************
    STAT 11511:default:timing   400+100  =393  *****
    STAT 11511:default:timing   500+100  =184  **
    STAT 11511:default:timing   600+100  =86   *
    STAT 11511:default:timing   700+100  =89   *
    STAT 11511:default:timing   800+100  =39
    STAT 11511:default:timing   900+100  =19
    STAT 11511:default:timing  1000+100  =20
    STAT 11511:default:timing  1100+100  =11
    STAT 11511:default:timing  1200+100  =6
    STAT 11511:default:timing  1300+100  =10
    STAT 11511:default:timing  1400+100  =6
    STAT 11511:default:timing  1500+100  =6
    STAT 11511:default:timing  1600+100  =5
    STAT 11511:default:timing  1700+100  =6
    STAT 11511:default:timing  1800+100  =2
    STAT 11511:default:timing  1900+100  =6
    STAT 11511:default:timing  2000+100  =3
    STAT 11511:default:timing  2100+200  =5
    STAT 11511:default:timing  2300+400  =6
    STAT 11511:default:timing  2700+800  =5
    STAT 11511:default:timing  3500+1600 =36
    STAT 11511:default:timing  5100+3200 =25
    STAT 11511:default:timing  8300+6400 =9
    STAT 11511:default:timing 14700+12800=4
    STAT 11511:default:timing 27500+25600=0
    
    Change-Id: I318bc3324a1cf60bb27567c0736a331294955675
    steveyen committed Aug 23, 2010
  8. TODO comment

    Change-Id: I816db7e4a7a8366f42cbeb60238e5fcef5abd71e
    steveyen committed Aug 23, 2010
  9. fixed pedantic compiler warning

    Change-Id: Ie65f6bfaead92dba9f69ee3517796646201a4d25
    steveyen committed Aug 23, 2010
  10. downstreaming timing histogram

    Change-Id: Id874994cbcbc2d508b3c9051d57c5d43212500d0
    steveyen committed Aug 22, 2010
  11. optimize histogram for fixed-width bins

    Change-Id: I0c8c71537def4b1f361bd98c93203d6ea4193aeb
    steveyen committed Aug 22, 2010
  12. histogram API

    Allows for chained histograms, to support changing bin widths.
    
    Change-Id: Ie7bbd4a0697eb78160eb0ad96822700ba194311f
    steveyen committed Aug 22, 2010
  13. code cleanup with braces

    Change-Id: Ia625cc03797c986f6fc145d8c00d093f6c6b6cc1
    steveyen committed Aug 22, 2010
  14. removed not relevant for moxi doc file

    Change-Id: I626dd5b83f5240a25c2e16f70e50f80abe5b270f
    Reviewed-on: http://review.northscale.com/2139
    Reviewed-by: Matt Ingenthron <matt@northscale.com>
    Tested-by: Matt Ingenthron <matt@northscale.com>
    Aliaksey Kandratsenka committed with Matt Ingenthron Aug 26, 2010
  15. fixed make dist

    Change-Id: I488b8eb3b35a9e67b97bec7b6c2eac4c84b52967
    Reviewed-on: http://review.northscale.com/2138
    Reviewed-by: Matt Ingenthron <matt@northscale.com>
    Tested-by: Matt Ingenthron <matt@northscale.com>
    Aliaksey Kandratsenka committed with Matt Ingenthron Aug 25, 2010
Commits on Aug 18, 2010
  1. bug 1911 -- max_retry_time stats tracking

    Change-Id: I09d22e44581c46bf8715974c51ff681927c52601
    Reviewed-on: http://review.northscale.com/1978
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 17, 2010
  2. bug 1911 - tracking max downstream reserved time stat

    Change-Id: I7cdde0826b0417e763c83e0fe1daee93c405050c
    Reviewed-on: http://review.northscale.com/1977
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 17, 2010
  3. bug 1911 - time_stats flag to capture more timing info

    Change-Id: I569438f658511ae4fb506e5b7321c9d195b96400
    Reviewed-on: http://review.northscale.com/1976
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 17, 2010
  4. stats for usec spent with a reserved downstream or on retries

    Change-Id: I180cae1e057c8acb39a6ffceb2091f0d251217b4
    Reviewed-on: http://review.northscale.com/1973
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 17, 2010
Commits on Aug 17, 2010
  1. cproxy_max_retries() helper func

    Change-Id: I2d7ce84693d728646a9253a291d1b9de3e981b7c
    Reviewed-on: http://review.northscale.com/1972
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 17, 2010
  2. refactored out a2b_not_my_vbucket() helper func

    Change-Id: I46e30896409139d94d667c469aabf1669c7bbbc9
    Reviewed-on: http://review.northscale.com/1971
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 17, 2010
Commits on Aug 16, 2010
  1. bug 2030 - updated moxi usage string

    Change-Id: I183a4fc61d19e5434b3a6a3c411f5933b58ae25f
    Reviewed-on: http://review.northscale.com/1955
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 15, 2010
  2. bug 2030 - default to stderr instead of syslog

    Change-Id: Ibc9e59c0461744c70b8dfe38ef4102b0408b36d2
    Reviewed-on: http://review.northscale.com/1954
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 15, 2010
Commits on Aug 13, 2010
  1. Fixed binary quitq (caused by checking noreply twice)

    Change-Id: I1eac01aac01238e0324274b1e40b8d350a846b01
    Reviewed-on: http://review.northscale.com/1895
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    trondn committed with steveyen Aug 13, 2010
  2. msec_clock_handler() configured off by default

    We weren't using it in moxi for membase, and it was taking up
    system time on linux / epoll_wait().  If the user wants to use
    downstream_timeout, wait_queue_timeout, or the front_cache,
    they'll have to set...
    
      -Z cycle=CYCLE_MILLISECONDS
    
    with > 0 milliseconds.
    
    Change-Id: I82ace6b2ddcc1153324ccdf66006a0c9d79ad54c
    Reviewed-on: http://review.northscale.com/1882
    Reviewed-by: Matt Ingenthron <matt@northscale.com>
    Tested-by: Matt Ingenthron <matt@northscale.com>
    steveyen committed with Matt Ingenthron Aug 13, 2010
Commits on Aug 12, 2010
  1. no more warnings

    Change-Id: I77b87aa22f769fe0792dcfa48f4d9866fb63716d
    Reviewed-on: http://review.northscale.com/1858
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 12, 2010
  2. bug 2015 - more warnings around signed/unsigned

    Change-Id: I81efea4181fbcec3e0a935f0096c8d134b821f56
    Reviewed-on: http://review.northscale.com/1854
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    steveyen committed Aug 12, 2010