Permalink
Commits on Mar 16, 2018
  1. Use libtirpc on Fedora Linux 28+

    avsej authored and daverigby committed Mar 13, 2018
    https://fedoraproject.org/wiki/Changes/SunRPCRemoval
    
    Change-Id: Iacb9dca35b48d0e6080cf173035e4956c62ec3ea
    Reviewed-on: http://review.couchbase.org/90845
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Well-Formed: Build Bot <build@couchbase.com>
    Tested-by: Build Bot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
Commits on Aug 16, 2016
  1. Backport patch for modern FreeBSD

    avsej committed Aug 16, 2016
    freebsd/freebsd-ports@98d85d7
    
    Change-Id: Ic104aca6ccebdb555c57480b77b9f7330379df9e
    Reviewed-on: http://review.couchbase.org/66792
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: buildbot <build@couchbase.com>
Commits on Aug 31, 2015
  1. Refactor: remove unused function tcp_curr_estab

    trondn committed Aug 28, 2015
    Change-Id: I998a97773780cf3ca3a74d70b3fdcafd16a7b1bc
    Reviewed-on: http://review.couchbase.org/54896
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  2. Refactor: remove unused "getpass" code

    trondn committed Aug 28, 2015
    Change-Id: Iacb18b251a4a2d5b5756eb02fb2410b88a3e0b46
    Reviewed-on: http://review.couchbase.org/54895
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  3. Refactor: remove unused function sys_info_get_uname

    trondn committed Aug 28, 2015
    Change-Id: I2533ab5ed95654569084a0bb3918021deb0cb178
    Reviewed-on: http://review.couchbase.org/54894
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  4. MB-16166: Use libproc to get mem_resident on macosx

    trondn committed Aug 27, 2015
    Change-Id: Ide37c10771bc1656f5e703ff3273a47d146ef73c
    Reviewed-on: http://review.couchbase.org/54890
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
Commits on May 18, 2015
  1. Remove tons of unused code

    trondn committed May 13, 2015
    Change-Id: I1ebf8e9538d8aa2ed62967a81d46d083d05f78ad
    Reviewed-on: http://review.couchbase.org/50974
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
Commits on May 14, 2015
  1. No need to set binary dir

    trondn committed May 13, 2015
    Change-Id: I2c46eedb2d7c2a42a60f357a07e21b46fb0f6ba6
    Reviewed-on: http://review.couchbase.org/50973
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
Commits on Feb 19, 2015
  1. Pass process ppid with process info.

    aartamonau authored and alk committed Feb 19, 2015
    Change-Id: Ibeed81a24cafef99e0dd271573c487df90f3377a
    Reviewed-on: http://review.couchbase.org/47055
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. Increase process name length.

    aartamonau authored and alk committed Feb 19, 2015
    Change-Id: I259bbee5361b549470f45a8173e11a3a97f686d1
    Reviewed-on: http://review.couchbase.org/47054
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 17, 2015
  1. Fix up whitespace issues

    trondn committed Feb 17, 2015
    Change-Id: I8f365161f6b093aaf0deab3db49fef8f078bde45
    Reviewed-on: http://review.couchbase.org/46965
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  2. Mute compile warnings on macosx

    trondn committed Feb 17, 2015
    Change-Id: If05a6ef3636dd3977fd27ee8cf04a154d67fdf0e
    Reviewed-on: http://review.couchbase.org/46944
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  3. Fix compile warnings for linux

    trondn committed Feb 17, 2015
    Change-Id: I42f535be63e524073bb111f6601b75ab57b5bda7
    Reviewed-on: http://review.couchbase.org/46949
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  4. Undefine NDEBUG for tests (use assert)

    trondn committed Feb 17, 2015
    Change-Id: Iaaced63a074b5276b3dde64031cac982b9466176
    Reviewed-on: http://review.couchbase.org/46963
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  5. Extend a list of processes we ignore.

    aartamonau authored and alk committed Feb 16, 2015
    Change-Id: Ide535b5ce8f3b224f996765813a08d152f43fad2
    Reviewed-on: http://review.couchbase.org/46912
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  6. Collect entire process tree starting at babysitter.

    aartamonau authored and alk committed Feb 16, 2015
    Change-Id: I662970ae2efe4ea7b464141c9f582fc46db74167
    Reviewed-on: http://review.couchbase.org/46911
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  7. Increase maximum number of process we are interested in.

    aartamonau authored and alk committed Feb 16, 2015
    Change-Id: I58aafa032c990e4c6a63aeeb3ad00960d87f094f
    Reviewed-on: http://review.couchbase.org/46910
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  8. Exit on sigar errors that can't be ignored.

    aartamonau authored and alk committed Feb 14, 2015
    Change-Id: Icf5b9d111facf86e0b4abd689dce2ed82d8d46ca
    Reviewed-on: http://review.couchbase.org/46909
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  9. Force process list refresh every 20 ticks.

    aartamonau authored and alk committed Feb 14, 2015
    Because of the following check we actually had to do this every tick.
    
      if (procs_count != NUM_INTERESTING_PROCS) {
          procs_stale = 1;
      }
    
    Initially I expected that NUM_INTERESTING_PROCS would always be equal
    to the number of child processes. So the check would force the refresh
    only when we knew that were some processes missing that potentially
    could start later. But then because of some differences on Windows we
    just increased NUM_INTERESTING_PROCS. And hence we actually had to
    reread the list of processes on every tick. AFAIR, we've seen signs of
    that in some of the customer diags.
    
    To avoid this behavior from now we just force periodic update.
    
    Change-Id: I90a49f805230424f6533043537e3f3a9f5fb42f5
    Reviewed-on: http://review.couchbase.org/46908
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 2, 2015
  1. Revert "MB-13259: Globally set CMP0042 policy"

    trondn committed Feb 2, 2015
    This reverts commit 8a18780.
    
    Change-Id: Ie9df127fb82544ede4ed2cdf8e15675f93b7d7f5
    Reviewed-on: http://review.couchbase.org/46238
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  2. MB-13259: Globally set CMP0042 policy

    trondn committed Feb 2, 2015
    Change-Id: Iab9afedf6c65b24fdc6f57bfd89c20fda01866eb
    Reviewed-on: http://review.couchbase.org/46211
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Nov 27, 2014
  1. Use gnu version of strerror_r

    trondn committed Nov 27, 2014
    Change-Id: I7f549cdff78e8b2804c4dcbd08c1819fbee1f16f
    Reviewed-on: http://review.couchbase.org/43667
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  2. Remove unneeded status messages

    trondn committed Nov 27, 2014
    Change-Id: I29f216aeaa5861b78054ffc20f84188719c8e8a5
    Reviewed-on: http://review.couchbase.org/43666
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Chris Hillery <ceej@couchbase.com>
Commits on Nov 26, 2014
  1. Remove compile warnings

    trondn committed Nov 26, 2014
    Change-Id: I8e27bb861e72586db9a9e55aa50c6535ad5084f2
    Reviewed-on: http://review.couchbase.org/43642
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  2. Remove unused code

    trondn committed Nov 20, 2014
    Nuke a lot of code currently not used by Couchbase.
    
    Change-Id: Iad5818f110670eb5275859921e6775cda5d18030
    Reviewed-on: http://review.couchbase.org/43444
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Nov 20, 2014
  1. Enable cmake policy to fix @rpath

    trondn committed Nov 19, 2014
    Change-Id: I33f4057206128c9cfd6150eee40e385c8e170926
    Reviewed-on: http://review.couchbase.org/43403
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
Commits on Nov 9, 2014
  1. Fix compiler warnings

    trondn committed Nov 5, 2014
    Change-Id: I6ad0a6a3abf0f0f1d094671899a7bd7ba98f87cb
    Reviewed-on: http://review.couchbase.org/42828
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Oct 21, 2014
  1. Fix compile on Yosemite

    trondn committed Oct 20, 2014
    Change-Id: I7576345b43f8915f047b9bc1a690670dc241427e
    Reviewed-on: http://review.couchbase.org/42306
    Reviewed-by: Jim Walker <jim@couchbase.com>
    Reviewed-by: Daniel Owen <owend@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 26, 2014
  1. Drop SIGAR_INLINE

    trondn committed Aug 26, 2014
    The inline definition caused a massive amount of compile
    warnings on SmartOS with gcc, and resulted in link error. Given
    that its not a "hot spot" in our application lets just nuke
    it.
    
    Change-Id: Idb7209a9c1b97db4f091399ea69ccb15c5d3bdc4
    Reviewed-on: http://review.couchbase.org/40929
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Jul 11, 2014
  1. Remove SIGAR_INLINE from util functions

    vmx committed Jul 9, 2014
    There was a problem with compiling sigar on Linux with Clang.
    During compilation you got warnings like:
    
        In file included from linux_sigar.c:30:
        ../../../include/sigar_util.h:80:20: warning: inline function 'sigar_skip_token' is not defined
              [-Wundefined-inline]
        SIGAR_INLINE char *sigar_skip_token(char *p);
                       ^
        linux_sigar.c:137:24: note: used here
                    if ((ptr = sigar_skip_token(ptr))) {
                               ^
    
    Which end up in an error like:
    
        libtool: link: clang -g -O2 -o .libs/cpuinfo cpuinfo.o  ../src/.libs/libsigar.so
        ../src/.libs/libsigar.so: undefined reference to `sigar_skip_token'
        clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    Removing the non C99 compatible inlining from the functions in include/siger_util.h
    solves the problem.
    
    Change-Id: I04bc1d7f5a254e3eda32ca34e000b487db0f6bcd
    Reviewed-on: http://review.couchbase.org/39208
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
Commits on Apr 7, 2014
  1. Don't include cpack

    trondn committed Apr 7, 2014
    Change-Id: I632a6ca147a06c9b2a986c33c05f63b011a76e33
    Reviewed-on: http://review.couchbase.org/35365
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Mar 27, 2014
  1. add t_sigar_disk to print disk stats given path

    hisundar committed Mar 25, 2014
    Change-Id: I8a5639c392ab30e7476e3c026d6925d693c46ad3
    Reviewed-on: http://review.couchbase.org/34900
    Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
    Tested-by: Sundararaman Sridharan <sundar@couchbase.com>
Commits on Mar 25, 2014
  1. Squash portsigar into sigar

    trondn committed Mar 24, 2014
    Change-Id: I155be0a4abb07b8acc4e6c7662954d8423e7d10a
    Reviewed-on: http://review.couchbase.org/34847
    Reviewed-by: Chris Hillery <ceej@couchbase.com>
    Tested-by: Chris Hillery <ceej@couchbase.com>
Commits on Mar 20, 2014
  1. Remove automake files

    trondn committed Mar 16, 2014
    Change-Id: Ibe5e147346795b6c8d9aa35f905e838ecba831bf
    Reviewed-on: http://review.couchbase.org/34582
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Jan 22, 2014
  1. Use sigar to determine number of CPU and disk type

    hisundar committed Nov 25, 2013
    Change-Id: Id8b93b16266f53259068216dd6ae1afa9997006c
    Reviewed-on: http://review.couchbase.org/30552
    Reviewed-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
    Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>