Details
-
Bug
-
Resolution: Won't Fix
-
Minor
-
2.1.0
-
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.