Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-9447

cbtransfer does not play nice with pipes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 3.0
    • 2.1.0
    • tools
    • Security Level: Public
    • Should be all environments, tested on CentOS 6

    Description

      Because cbtransfer does not flush its buffer (sys.stdout.buffer), part of the buffer does not get passed through pipes.

      Example: Try to add a single document of a single char in a fresh couchbase, then cbtransfer stdout: | grep keyname. Or just | cat. You will see no data coming out, although running just cbtransfer stdout: does work out properly.

      See https://groups.google.com/forum/#!topic/couchbase/YKWQBNLW9Ls for more details.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            stelcheck Marc Trudel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty