Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 20, 2012
  1. @chiyoung

    MB-6647 Reduce the num of items in "duplicate items on disk" test

    chiyoung authored Peter Wansch committed
    We saw the sporadic timeout in "duplicate items on disk" unit
    test because too many items are fetched from disk.
    
    Change-Id: I6b3c7efb7dcc7b86a57a89cf41f903f269c7bdf6
    Reviewed-on: http://review.couchbase.org/20842
    Reviewed-by: Jin Lim <jin@couchbase.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Jin Lim <jin@couchbase.com>
  2. @jinlim

    Fix minor memory leaks in ep_testsuit

    jinlim authored Peter Wansch committed
    Memory allocated from createPacket() must be release after
    the completion.
    
    Change-Id: If2cfc7a17a53e0fae21973371e32279cc4259e68
    Reviewed-on: http://review.couchbase.org/20808
    Tested-by: Jin Lim <jin@couchbase.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Reviewed-by: Jin Lim <jin@couchbase.com>
  3. @jinlim

    Add shutdown force & no force test cases with pending flusher items

    jinlim authored Peter Wansch committed
    Test cases newly added: test shutdown with force
                            test shutdown without force
    
    Change-Id: If0a316a98033fe9e1fd06fa220a04793bfddbd89
    Reviewed-on: http://review.couchbase.org/20806
    Reviewed-by: Jin Lim <jin@couchbase.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Jin Lim <jin@couchbase.com>
  4. @mikewied

    MB-6661: The delete packet returns a cas value

    mikewied authored Peter Wansch committed
    This is neccessary for clients to detect an update after a delete
    when using the observe command.
    
    Change-Id: Ifb0a3426baa143b2be9da8e901cdbd2583f9f2d3
    Reviewed-on: http://review.couchbase.org/20854
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Reviewed-by: Jin Lim <jin@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
  5. @mikewied

    MB-6628: Seperate meta data bg fetch stats from bg fetch stats.

    mikewied authored Peter Wansch committed
    Change-Id: I0e80db7d4386ba4b9b872c158cec7fea74d78477
    Reviewed-on: http://review.couchbase.org/20896
    Reviewed-by: Jin Lim <jin@couchbase.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Sep 13, 2012
  1. @chiyoung

    MB-6645 Fix to expiry_no_items_warmup unit test failure

    chiyoung authored Farshid Ghods committed
    This unit test should make sure that the expiry pager runs once
    before soft shutdown.
    
    Change-Id: I0b97133cdb3442659b2e67ceb69199077b0ff6fc
    Reviewed-on: http://review.couchbase.org/20841
    Tested-by: buildbot <build@couchbase.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Sep 8, 2012
  1. @mikewied

    Re-enable unit tests

    mikewied authored Farshid Ghods committed
    These were accidentally disabled by a prior commit.
    
    Change-Id: I64ec74c2477a779b4a9b35661c1746135b274b58
    Reviewed-on: http://review.couchbase.org/20647
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: buildbot <build@couchbase.com>
Commits on Sep 7, 2012
  1. @mikewied

    MB-6518: Make sure exptime is always persisted properly

    mikewied authored Farshid Ghods committed
    This commit makes two changes. First it makes the fetchValidValue
    function return a StoredValue, even in the case of an expired
    value. This is needed because if we try to persist an expired
    item an fetchValidValue returns NULL, then the flusher will
    persist 0 as the value for flags and expiration time and also
    persist a random cas value.
    
    The second part of this change adds a queueExpired parameter to
    the fetchValidValue function. This value is needed by the flusher
    because if we recieve a op_set and the value is expired then we
    do the delete in the flusher and also queue an op_del for the same
    item. When the flusher gets to the op_del the item no longer exists
    and as a result 0 is persisted as the exp time and flags time and
    a random cas is persisted for that item.
    
    Change-Id: Ife69dd45ed490e9277f2074ef7780831e017881a
    Reviewed-on: http://review.couchbase.org/20631
    Tested-by: buildbot <build@couchbase.com>
    Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Aug 31, 2012
  1. @mikewied

    MB-6300: Creating a vbucket that is out of range returns error

    mikewied authored Farshid Ghods committed
    This fixes an issue where ep-engine was crashing when someone
    tried to create a vbucket that was larger than max_vbuckets.
    
    Change-Id: I00895f358cea8671d9c06aa35e490f5ba88c1ebc
    Reviewed-on: http://review.couchbase.org/19897
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: buildbot <build@couchbase.com>
Commits on Aug 28, 2012
  1. @chiyoung

    Remove row id from QueuedItem class.

    chiyoung authored
    Row id in QueuedItem class was only used to sort dirty items by
    their row ids with sqlite as backend.
    
    Change-Id: Id5e4b6ec2a28365082217fbf8380eea0aad4ab60
    Reviewed-on: http://review.couchbase.org/20238
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  2. @chiyoung

    Wait for warmup completion when the engine restarted in unit tests

    chiyoung authored
    Change-Id: I2c231d623377b3ca410be0f84eaf5c563bead0a6
    Reviewed-on: http://review.couchbase.org/20276
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  3. @chiyoung

    Fix to sporadic failures in non-resident decrementers unit test

    chiyoung authored
    Change-Id: I7b25ce3326e8f16db5f590decf22a77bf94fabb0
    Reviewed-on: http://review.couchbase.org/20266
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  4. @chiyoung

    Remove the mutation log if exists at the end of each test run

    chiyoung authored
    Change-Id: Ia1e2fdc1e554b28f946480aa2e59aae71fc79500
    Reviewed-on: http://review.couchbase.org/20226
    Reviewed-by: Liang Guo <liang@couchbase.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Aug 27, 2012
  1. @mikewied @chiyoung

    MB-6445: Remove sqlite backend

    mikewied authored chiyoung committed
    Sqlite will be deprecated and not supported anymore as of 2.0
    release.
    
    Change-Id: I1a5c8025444ca264897958b4053ff7cfe9c97010
    Reviewed-on: http://review.couchbase.org/20207
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Aug 24, 2012
  1. @chiyoung

    Remove the deprecated RESTORE implementation

    chiyoung authored
    The old RESTORE command is not used and supported anymore.
    
    Change-Id: I69c3fdccebe9cfd4d6c33ef806937ee214573210
    Reviewed-on: http://review.couchbase.org/20145
    Reviewed-by: Jin Lim <jin@couchbase.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  2. @chiyoung

    CBD-544 Command to disable data traffic temporarily.

    chiyoung authored
    This change introduces the new command CMD_DISABLE_TRAFFIC (0xae)
    to support disabling data traffic temporarily.
    
    Change-Id: I34b19e5c568b5344fd0c3c788602cd4cd849f7c7
    Reviewed-on: http://review.couchbase.org/20140
    Reviewed-by: Liang Guo <liang@couchbase.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  3. @mikewied

    Remove some more sqlite stuff from ep testsuite

    mikewied authored
    Change-Id: I6402d330eb5276afc14a6723dbd866bf098755c9
    Reviewed-on: http://review.couchbase.org/20038
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
  4. @mikewied

    MB-5995: Change get_meta packet format

    mikewied authored
    This change moves the appended meta data into the extra portion
    of the memcached header.
    
    Change-Id: Id392228000bea4ebca5ab694d45db084a9aa59e3
    Reviewed-on: http://review.couchbase.org/18718
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
  5. @chiyoung

    Use a reference type in passing TaskId parameters.

    chiyoung authored
    Change-Id: I533211fa2600b33ba955c150fe16b7e15ad8e7ed
    Reviewed-on: http://review.couchbase.org/20114
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Aug 21, 2012
  1. @trondn @chiyoung

    MB-6360: Fix compile failures

    trondn authored chiyoung committed
    * One should always include config.h as the first file since
      it defines symbols that change which symbols the unit will
      export
    * The linkage for the engine API is C
    * All files should end with a newline
    
    Change-Id: I5083ea60d1f8e378123d3faa5248cc7f5ccfd335
    Reviewed-on: http://review.couchbase.org/19978
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Aug 18, 2012
  1. @mikewied @chiyoung

    MB-6141: Move mock/ directory into tests/ directory

    mikewied authored chiyoung committed
    Change-Id: I4d42dc1b85c4e744065d6d684351588f89a82cc0
    Reviewed-on: http://review.couchbase.org/19804
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Commits on Aug 17, 2012
  1. @mikewied @chiyoung

    MB-6147: Refactor the check_key_value function

    mikewied authored chiyoung committed
    Change-Id: Ibf90404580e46c889de7d6edd36a42162bd2bdcc
    Reviewed-on: http://review.couchbase.org/19638
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  2. @mikewied @chiyoung

    MB-6147: Rename get_value to get_item_info in test suite

    mikewied authored chiyoung committed
    This function name is confusing and is better named by
    what it actually does.
    
    Change-Id: I1200fdb74390df951865d2abdb9c89864a73579e
    Reviewed-on: http://review.couchbase.org/19637
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  3. @mikewied @chiyoung

    MB-6147: Consolidate verify_key functions

    mikewied authored chiyoung committed
    Change-Id: I955818caece5190023b9f92ee241e4250dbd4da2
    Reviewed-on: http://review.couchbase.org/19636
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  4. @mikewied

    MB-6147: Move api calls for tests to seperate module

    mikewied authored
    Change-Id: I654b45ea376e996128716928fa503f4de7c29666
    Reviewed-on: http://review.couchbase.org/19336
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
  5. @mikewied

    MB-6141: Move ep-engine source files into src directory

    mikewied authored
    Change-Id: I6068c3aa7bc92d45bce4dd3097079665d807ac75
    Reviewed-on: http://review.couchbase.org/19664
    Reviewed-by: Michael Wiederhold <mike@couchbase.com>
    Tested-by: Michael Wiederhold <mike@couchbase.com>
Commits on Aug 15, 2012
  1. @chiyoung

    MB-6229 Remove duplicate / unused engine stats

    chiyoung authored
    The following stats are removed because they are duplicates or
    not used anymore:
    
    ep_flusher_num_completed
    ep_flush_duration
    ep_flush_duration_highwat
    ep_num_checkpoint_remover_runs
    ep_db_cleaner_status
    ep_latency_get_cmd
    ep_latency_arith_cmd
    ep_vbucket_del_total_walltime
    
    Change-Id: Ib35d55088a64b9ccdabd089537b4136f7b03eb49
    Reviewed-on: http://review.couchbase.org/19626
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  2. @mikewied @chiyoung

    MB-6141: Reorganize test directory structure

    mikewied authored chiyoung committed
    The t/ directroy is now tests/
    Module tests now live in tests/module_tests
    ep_testsuite.* now lives in tests/
    
    Change-Id: Ifb0725d1a235af4b910df12d366d41d40f7cc646
    Reviewed-on: http://review.couchbase.org/19623
    Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
    Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Something went wrong with that request. Please try again.