Description
Daniel Owen found the bug when working on cbbacup performance issue.
During my testing I also discovered a bug. In pump_tap.py function def _init_(self, opts, spec, source_bucket, source_node,source_map, sink_map, ctl, cur): we are setting recv_min_bytes as follows:
self.recv_min_bytes = int(getattr(opts, "recv_min_bytes",4096))
recv_min_bytes is never found and so setting the extra parameter has no effect. The reason it is not found is because it is in the extra section. i.e.
print getattr(opts, "extra") returns the following
I believe it should be replaced with the following
self.recv_min_bytes = int(self.opts.extra['recv_min_bytes'])