Permalink
Commits on Apr 2, 2013
  1. Update Couchbase::VERSION to 1.2.3

    Change-Id: Ib8a412d0c2979468955f9493b924e7be165689c2
    Reviewed-on: http://review.couchbase.org/25449
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Apr 2, 2013
  2. Bump version 1.2.3

    Change-Id: Iee215b9ca70dca7db1e1d6c08c5a3ceed6ab29e4
    Reviewed-on: http://review.couchbase.org/25446
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: John C. Zablocki <john@couchbase.com>
    avsej committed Apr 2, 2013
Commits on Mar 25, 2013
  1. Document multi-set operation

    Change-Id: Idedcf941681c95db99ddf240daa03c70e5f4a79e
    Reviewed-on: http://review.couchbase.org/25334
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    avsej committed Mar 25, 2013
  2. Correct Bucket#[]= documentation

    thanks to @vmx
    
    Change-Id: I3fcf7774719787e809922d42aecdbef11ce1e3d5
    Reviewed-on: http://review.couchbase.org/25333
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Mar 25, 2013
Commits on Mar 21, 2013
  1. Make ActiveSupport::Cache::CouchbaseStore threadsafe.

    Change-Id: Ic75f317d58186008fa80ce814264058c53f7d3bf
    Reviewed-on: http://review.couchbase.org/25294
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mje113 committed with avsej Mar 21, 2013
Commits on Mar 20, 2013
  1. Reset Couchbase#thread_storage when a Kernel#fork is detected

    Adding to avoid file descriptor sharing between a process and its sub
    process. See [section 13.3][1] at for a description of why this is bad.
    
    [1]: http://www.modrails.com/documentation/Users%20guide%20Apache.html#_smart_spawning_gotcha_1_unintentional_file_descriptor_sharing
    
    Change-Id: I6019aaf3635c3f9f31076f6ac5d5d978978c718f
    Reviewed-on: http://review.couchbase.org/25266
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mje113 committed with avsej Mar 20, 2013
Commits on Feb 20, 2013
  1. Update URL to the commit-msg hook in CONTRIBUTING doc

    Change-Id: I617eb4768f38c62ee06cc5a93fea60ae1eef6050
    Reviewed-on: http://review.couchbase.org/24744
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 20, 2013
  2. Add CONTRIBUTING document

    Change-Id: I2605910712d7e5a295d3cf9c723b718afe3616a4
    Reviewed-on: http://review.couchbase.org/24743
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 20, 2013
Commits on Feb 14, 2013
  1. Check for gethrtime. Needed for solaris/smartos

    The actual guard condition in the header already[1], this patch just
    make it defined on the systems where gethrtime() defined, and disables
    internal implementation
    
    [1]: https://github.com/couchbase/couchbase-ruby-client/blob/master/ext/couchbase_ext/couchbase_ext.h#L32-L35
    
    Change-Id: Ie4d1518e0ec41e30ecc849d93b26322c80d06de2
    Reviewed-on: http://review.couchbase.org/24537
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 12, 2013
  2. The console task shouldn't depend on compile

    You should call it explicitly if you like, because compile task always
    relink and install the shared object. It is possible to avoid it
    externally, like I've done in this Makefile[1].
    
    [1]: trondn/sdktools#14
    
    Change-Id: Ie2e212f4e706edba9d1212113ca968f8c67f82c7
    Reviewed-on: http://review.couchbase.org/24599
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 14, 2013
Commits on Feb 11, 2013
  1. Bump version 1.2.2

    Change-Id: Ibf7f3c63dba3f8c61ac9f28c5da1a9a711918749
    Reviewed-on: http://review.couchbase.org/24504
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 11, 2013
  2. Fix mingw build. It does support only native plugin via libcouchbase

    Change-Id: Ief0ec2480e3e6c1507ff1b8fd70b2812a8cfccd6
    Reviewed-on: http://review.couchbase.org/24503
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 11, 2013
Commits on Feb 8, 2013
  1. Add simple chat based on EventMachine with Couchbase logger

    Change-Id: If0a80f31d87ba632ff6510e2175c340dfcc876ba
    Reviewed-on: http://review.couchbase.org/24480
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 8, 2013
  2. RCBC-27 EventMachine plugin

    Introduce plugin which allows to use EventMachine as event loop for
    couchbase client.
    
    With Ruby 1.9 and Fibers it is possible to use blocking interface,
    otherwise connection should be asynchronouse and connection.run should not
    be used.
    
    Change-Id: I6a5bd7c86f9ce5f3b7090b0c58bc411d6b6a52f7
    Reviewed-on: http://review.couchbase.org/23347
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Jan 17, 2013
  3. Unfreeze rake version

    Change-Id: Ie19ffd85be82b27caa4fd149a3b13fec27f4f518
    Reviewed-on: http://review.couchbase.org/24479
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 8, 2013
  4. Allow asynchronous connections

    This patch allows to use Bucket instance in completely asynchronous
    environment like this, without blocking on connect:
    
      conn = Couchbase.new(:async => true)
      conn.run do
        conn.on_connect do |res|
          if res.success?
            #
            # schedule async requests
            #
          end
        end
      end
    
    Change-Id: I8be3f6e687591019c9bb21ada097ca137933ce48
    Reviewed-on: http://review.couchbase.org/23703
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jan 4, 2013
  5. View#fetch_all - async method for fetching all records

    Change-Id: Id42af81ca4e2748e3fe7588c2a87bbf8d1aea76f
    Reviewed-on: http://review.couchbase.org/24027
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Jan 17, 2013
  6. Fix async view fetch

    Fix case in async fetch with include_docs, when last chunk arrives
    after last doc fetched.
    
    Change-Id: Ia022d69c9a82ab80be08ec022d623ba510f5d485
    Reviewed-on: http://review.couchbase.org/23991
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Jan 16, 2013
  7. RCBC-118 Alias #total_rows as #total_entries on view result

    Change-Id: I9b72c2af5663c8e31493b9a8f8c32c6cd4cafafe
    Reviewed-on: http://review.couchbase.org/24464
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 7, 2013
  8. Remove yard doc from development dependencies

    It is better to call it as standalone executable
    
    Change-Id: Id0476db97c0faa7008d1e1f1dd3d223f7bcf11fb
    Reviewed-on: http://review.couchbase.org/24478
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 8, 2013
Commits on Jan 5, 2013
  1. Render bucket in Couchbase::Result#inspect

    Change-Id: I70f287eea4d55145ffdfa57b46e670aea3e2e54d
    Reviewed-on: http://review.couchbase.org/23702
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jan 4, 2013
  2. Define Couchbase::Result#to_s to produce the same output as #inspect

    Change-Id: I9867a479242fecd2cff78516fb999456324d039d
    Reviewed-on: http://review.couchbase.org/23701
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jan 4, 2013
Commits on Jan 2, 2013
  1. Enable to pick IO engines explicitly

    Change-Id: I4b7bf3c1b8cfa1ac939da73dcc0039219575acd4
    Reviewed-on: http://review.couchbase.org/23654
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jan 2, 2013
Commits on Dec 27, 2012
  1. mth plugin: make it immune from being forgotten

    allocate temporary structures as ruby objects, so that it will
    be collected even if it's forgotten inside of fiber.
    
    Change-Id: Ia8576f1790f208826d3f8fa06f2a2c19f5bd2074
    Reviewed-on: http://review.couchbase.org/23529
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 23, 2012
  2. context.c: fix error with marking a deleted context

    Change-Id: I80079eaab015f6b0e248dd592616c3606b49120e
    Reviewed-on: http://review.couchbase.org/23502
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 23, 2012
  3. Get back loop in the View fetcher

    Change-Id: I4b86184226e995c91402cf8422f200d20f507d39
    Reviewed-on: http://review.couchbase.org/23473
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 23, 2012
  4. http.c: raise error if bucket is not connected

    Change-Id: I21782cad7fa8d5f74ac950033899515fc7f1b9bd
    Reviewed-on: http://review.couchbase.org/23536
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 24, 2012
  5. http.c: in case when connection unsuccessful, cancel request

    Change-Id: Ifcf168cc7bd8496a99407ca1d9f5357e36553d7e
    Reviewed-on: http://review.couchbase.org/23528
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 23, 2012
  6. http.c: free context in async mode

    Change-Id: I0622c10bb93d5794f5f7871135bd64aceecc48b2
    Reviewed-on: http://review.couchbase.org/23499
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 21, 2012
  7. Return updated error message in Couchbase::Error::HTTP

    Change-Id: I6326b60a6e811dcd88114fd74927e5868b91b30b
    Reviewed-on: http://review.couchbase.org/23569
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Dec 27, 2012
  8. http.c: in case of error, call on_data callback from complete_callback

    Change-Id: I50a9a9e663e20297e75f0b398cbd4adfb2e3a900
    Reviewed-on: http://review.couchbase.org/23498
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 21, 2012
Commits on Dec 20, 2012
  1. simplify cb_params_build by including args into cb_params_st

    Change-Id: Ic9d374f00263f1b26719cd9ed177e00c0b2c7937
    Reviewed-on: http://review.couchbase.org/23464
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 20, 2012
  2. Make View#fetch fully functional in both sync and async modes

    Also it give performance boost even for call without block
    
    Change-Id: I864ae31f660d67ee7f0f58d7ed920c0925179345
    Reviewed-on: http://review.couchbase.org/23442
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
    funny-falcon committed with avsej Dec 19, 2012
  3. RCBC-104 Protect temporary string from being collected by GC

    Change-Id: Ieef67ff1e65ba0ad958f978cfeea7b48e287073c
    Reviewed-on: http://review.couchbase.org/23462
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 20, 2012
  4. intern "localhost" string

    Change-Id: I05d5c7bf2a9e3688283bca0d284933dbc74d7f75
    Reviewed-on: http://review.couchbase.org/23444
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    funny-falcon committed with avsej Dec 19, 2012