Permalink
Commits on Sep 13, 2012
  1. Update metadata for release 2.0.0beta

    avsej committed Sep 13, 2012
    The shared object will be 2.0.0
    
    Change-Id: I7d0db1ba5245be472775c2d8a193ce3de30194e9
    Reviewed-on: http://review.couchbase.org/20838
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  2. Set .so-name to 2.0.0 for the release

    trondn authored and avsej committed Aug 29, 2012
    I don't think we should bump these numbers for our dp/beta
    releases, but rather use other forms for that.
    
    Change-Id: I14211c936ef3630927b9d919aa8b6bb823aadce8
    Reviewed-on: http://review.couchbase.org/20310
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  3. Added --enable-fat-binary

    trondn authored and avsej committed Sep 13, 2012
    Change-Id: Ied862796b12c45bb30de732ff62c08d9ffb2df2c
    Reviewed-on: http://review.couchbase.org/20827
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  4. Move timeout into generic test src list

    avsej authored and trondn committed Sep 13, 2012
    Fixes build configured with --disable-couchbasemock
    
    Change-Id: I81bb81918de4cd5c7daceb300a1408ec86447bd3
    Reviewed-on: http://review.couchbase.org/20825
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  5. Tests should finish within 5 minutes

    trondn authored and avsej committed Sep 13, 2012
    I've seen the automated builds hang due to a hanging test.
    This patch set up a timer to fire after 5 minutes causing
    the tests to fail. Export LCB_MAX_TEST_DURATION to raise
    the limit.
    
    Change-Id: I850303b3998ee5cc2b0e217e87466ad42033c8b9
    Reviewed-on: http://review.couchbase.org/20821
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  6. We should always include config.h

    trondn authored and avsej committed Sep 13, 2012
    Change-Id: If0091b5cc7b3302cb302c58ab8813d30d7cf949e
    Reviewed-on: http://review.couchbase.org/20820
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  7. Implement getter for number of nodes in the cluster

    avsej authored and trondn committed Sep 13, 2012
    Change-Id: Ia0806e81980ad4f9b4cce50b4264eeb02f76027d
    Reviewed-on: http://review.couchbase.org/20819
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  8. Implement RESTful flush in cbc toolset

    avsej authored and trondn committed Sep 13, 2012
    Change-Id: I8b6576805e1ef84c4e2da287d4e6155342caf041
    Reviewed-on: http://review.couchbase.org/20816
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  9. Do not require body for POST and PUT

    avsej committed Sep 13, 2012
    Change-Id: I1349fee53757c9bc6b4e8e1b1f48e7ce49cb1191
    Reviewed-on: http://review.couchbase.org/20815
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  10. Remove obsolete doc file

    trondn committed Sep 12, 2012
    The file is really, really, really obsolete
    
    Change-Id: Icc438d4ff104fa1b3ae3f75e76d9d213a08e1b85
    Reviewed-on: http://review.couchbase.org/20783
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 12, 2012
  1. Leave windows packages into workspace

    avsej committed Sep 12, 2012
    Change-Id: I318aa3cf6f61db0d4c5cd7b1cee4ff12ca5a5bf2
    Reviewed-on: http://review.couchbase.org/20787
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. do not reset PATH in NMakefile

    avsej committed Sep 12, 2012
    Change-Id: Ie208a2050f24aabf99ed613c77f85168c5f7f2c1
    Reviewed-on: http://review.couchbase.org/20786
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  3. Put arch and CC version into package name

    avsej committed Sep 12, 2012
    Change-Id: I4d2a279453c9acbb7ab3b3a77329a30ee2b9c4bf
    Reviewed-on: http://review.couchbase.org/20784
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  4. Declare package task for windows build

    avsej committed Sep 12, 2012
    Currently it requires 7z archiver in the PATH
    http://www.7-zip.org/
    
    Change-Id: Ia366e96efa10c29f51b17e96ab22377a30746616
    Reviewed-on: http://review.couchbase.org/20782
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 11, 2012
  1. Do not include targets written in C++ if the compiler missing

    avsej committed Sep 11, 2012
    Change-Id: I412857890f04e5728a2b453cb83339b750214d95
    Reviewed-on: http://review.couchbase.org/20723
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. Remove cbc symlinks with 'make uninstall'

    avsej authored and trondn committed Sep 11, 2012
    Change-Id: If5972286e67ed76ca49a64ee41958a4ba9ae1404
    Reviewed-on: http://review.couchbase.org/20724
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  3. Make doxygen less chatty

    trondn committed Sep 11, 2012
    Change-Id: I091285240896deddd2e7a2dfb932c5710cb03f97
    Reviewed-on: http://review.couchbase.org/20722
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
  4. Add docs target to run generate doxygen docs

    trondn committed Sep 11, 2012
    Change-Id: I4706235f54eba8032611108203bbd0e98ca01baf
    Reviewed-on: http://review.couchbase.org/20721
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  5. Document tests with Doxygen

    mnunberg authored and trondn committed Sep 11, 2012
    Change-Id: I97d55ce5d1f21f4a72075021d03ed90eb9e3625b
    Reviewed-on: http://review.couchbase.org/20709
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 10, 2012
  1. Include config.h in unit_tests.cc

    avsej committed Sep 10, 2012
    Change-Id: I70c88cfa46c7203d51d4566e5c3c55cecfff9915
    Reviewed-on: http://review.couchbase.org/20706
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
  2. Fix build breakage with --disable-couchbasemock

    avsej committed Sep 10, 2012
    Change-Id: I3b2b2f69bee6953391d5f643b3fb4c15184a1456
    Reviewed-on: http://review.couchbase.org/20704
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  3. Test lock and unlock commands

    mnunberg authored and trondn committed Sep 9, 2012
    Change-Id: I075db344d0bc903b8405e6b5800de67e03e1b5d2
    Reviewed-on: http://review.couchbase.org/20678
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  4. Determine cluster version

    mnunberg authored and trondn committed Sep 9, 2012
    Change-Id: Ib357621025f57aab89e66023c2dd82f3b018b416
    Reviewed-on: http://review.couchbase.org/20677
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  5. CCBC-98 Differentiate between TMPFAILs

    avsej authored and trondn committed Sep 10, 2012
    Introduce new client specific error code
    
    Change-Id: I5517d97b8097bfbdf0d89b7889f1c722e88ff973
    Reviewed-on: http://review.couchbase.org/20700
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  6. The mockenv should provide createConnection

    trondn committed Sep 10, 2012
    Change-Id: If1ba6d098c70ad8a469a7f2dbc706e3bfb024e34
    Reviewed-on: http://review.couchbase.org/20687
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  7. Refactor MockEnvironment to singleton

    trondn committed Sep 10, 2012
    Change-Id: I7958642b28128649921f3864b126fc8f5a1feeca
    Reviewed-on: http://review.couchbase.org/20686
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  8. Split up mock-unit-test.h

    trondn committed Sep 10, 2012
    It shouldn't be a "catch all" headerfile
    
    Change-Id: I0619c681b00a6a189bee6a359f1772e26b36042a
    Reviewed-on: http://review.couchbase.org/20685
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  9. Instantiate the mock only once

    mnunberg authored and trondn committed Sep 8, 2012
    Use global environment SetUp/TearDown instead of one for each test class
    
    Change-Id: I3f77c1f39554ea0bee7477a785df44f03f916d04
    Reviewed-on: http://review.couchbase.org/20674
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  10. Initialize counter for arithmetic tests before each test

    mnunberg authored and trondn committed Sep 7, 2012
    By doing so we know the initial value instead of
    depending on the value from the previous test
    
    Change-Id: I9f30952420c3d5e394468124c3d4fc9c5e4f865a
    Reviewed-on: http://review.couchbase.org/20621
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  11. add mget hit/miss test

    mnunberg authored and trondn committed Sep 7, 2012
    Change-Id: Id7ba2b23b3bcea40dfb4076e375dc18795f6fa4b
    Reviewed-on: http://review.couchbase.org/20624
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  12. Divide unit tests into categories and place them in their own files

    mnunberg authored and trondn committed Sep 7, 2012
    Change-Id: I951c8c2a67636bf0c1693860a267087856158dcd
    Reviewed-on: http://review.couchbase.org/20620
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  13. Don't use strdup for http path

    mnunberg authored and trondn committed Sep 8, 2012
    If users are passing the npath parameter, they obviously expect to be
    able to pass a non-NUL delimited string.
    
    Change-Id: I339876d0605108cd66410fede8959bef3deacc7f
    Reviewed-on: http://review.couchbase.org/20671
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Sep 7, 2012
  1. Remove keys before testing miss

    mnunberg authored and avsej committed Sep 7, 2012
    Change-Id: Ia405bf9d89c7f732ac333af8f7c1b6c9990a818e
    Reviewed-on: http://review.couchbase.org/20605
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Commits on Sep 6, 2012
  1. Don't try to put the current node last in the backup list

    trondn committed Sep 6, 2012
    This may cause "duplicates" in the list if the REST server
    returns another name for the server than you used.
    
    Ex: you specify "localhost" and the REST response contains
    127.0.0.1
    
    Change-Id: Ifab5e13909e46738870e0eeaf6f04d1796ee7508
    Reviewed-on: http://review.couchbase.org/20581
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  2. Dump the servers in use when using real cluster

    trondn committed Sep 6, 2012
    Change-Id: I0037ce87d22560f78563c948371bf65fd5ceb06b
    Reviewed-on: http://review.couchbase.org/20579
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>