Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      With Couchbase bucket types and memcached bucket types, the RESTful flush should always be used in Couchbase Server. Thus, the flush() function needs to be connected to the restful flush in libcouchbase:
      https://github.com/couchbase/libcouchbase/blob/master/tools/cbc.cc#L947

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        trond Trond Norbye added a comment -

        Is this really a blocker and something we can't put in the release notes? I wouldn't assume a "non-working" flush for the couchbase buckets to be the biggest problem for people in production....

        Show
        trond Trond Norbye added a comment - Is this really a blocker and something we can't put in the release notes? I wouldn't assume a "non-working" flush for the couchbase buckets to be the biggest problem for people in production....
        Show
        trond Trond Norbye added a comment - http://review.couchbase.org/#/c/23014/
        Hide
        chuyskywalker Jeff Minard added a comment -

        I know this is already resolved, but I'd actually implement our own wrapper to detect "is bucket memcached? ok, flush as normal. else _alldocs, loop, delete(key)". It wasn't a big deal to implement, just annoying.

        Show
        chuyskywalker Jeff Minard added a comment - I know this is already resolved, but I'd actually implement our own wrapper to detect "is bucket memcached? ok, flush as normal. else _alldocs, loop, delete(key)". It wasn't a big deal to implement, just annoying.
        Hide
        ingenthr Matt Ingenthron added a comment -

        Thanks Jeff

        Use of _alldocs is not recommended or really supported in Couchbase Server 2.0. It works okay, but it can't walk the views in an optimal way and thus churns through disk.

        The RESTful flush should be relatively speedy and will definitely be speedy in the long term and safe.

        Show
        ingenthr Matt Ingenthron added a comment - Thanks Jeff Use of _alldocs is not recommended or really supported in Couchbase Server 2.0. It works okay, but it can't walk the views in an optimal way and thus churns through disk. The RESTful flush should be relatively speedy and will definitely be speedy in the long term and safe.
        Hide
        trond Trond Norbye added a comment -

        The rest way should also work for me cached buckets

        Show
        trond Trond Norbye added a comment - The rest way should also work for me cached buckets

          People

          • Assignee:
            trond Trond Norbye
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes