WARNING: DATA RACE ----- go-couchbase Write by goroutine 48: runtime.closechan() /Users/riteshmotlani/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/chan.go:292 +0x0 github.com/couchbase/go-couchbase.(*connectionPool).Close() /Users/riteshmotlani/cbwatson/godeps/src/github.com/couchbase/go-couchbase/conn_pool.go:106 +0x8c github.com/couchbase/go-couchbase.(*Bucket).Close() /Users/riteshmotlani/cbwatson/godeps/src/github.com/couchbase/go-couchbase/pools.go:885 +0x12e github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).getHighSeqno() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:556 +0x597 github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).SetVBTimestamps() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:324 +0xfce github.com/couchbase/goxdcr/factory.(*XDCRFactory).SetStartSeqno() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/factory/xdcr_factory.go:632 +0x496 github.com/couchbase/goxdcr/factory.(*XDCRFactory).SetStartSeqno-fm() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/factory/xdcr_factory.go:163 +0x4f Previous read by goroutine 227: runtime.chansend() /Users/riteshmotlani/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/chan.go:115 +0x0 github.com/couchbase/go-couchbase.(*connectionPool).Return() /Users/riteshmotlani/cbwatson/godeps/src/github.com/couchbase/go-couchbase/conn_pool.go:202 +0x122 github.com/couchbase/go-couchbase.getStatsParallel() /Users/riteshmotlani/cbwatson/godeps/src/github.com/couchbase/go-couchbase/client.go:150 +0x278 Goroutine 48 (running) created at: github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).Start() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:181 +0x686 github.com/couchbase/goxdcr/pipeline_manager.(*pipelineManager).startPipeline() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_manager/pipeline_manager.go:300 +0xa9c github.com/couchbase/goxdcr/pipeline_manager.(*pipelineUpdater).update() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_manager/pipeline_manager.go:627 +0x1388 github.com/couchbase/goxdcr/pipeline_manager.(*pipelineUpdater).start() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_manager/pipeline_manager.go:580 +0x119 Goroutine 227 (finished) created at: github.com/couchbase/go-couchbase.(*Bucket).GatherStats() /Users/riteshmotlani/cbwatson/godeps/src/github.com/couchbase/go-couchbase/client.go:175 +0x1d2 github.com/couchbase/go-couchbase.(*Bucket).GetStats() /Users/riteshmotlani/cbwatson/godeps/src/github.com/couchbase/go-couchbase/client.go:157 +0xa1 github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).getHighSeqno() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:546 +0x103 github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).SetVBTimestamps() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:324 +0xfce github.com/couchbase/goxdcr/factory.(*XDCRFactory).SetStartSeqno() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/factory/xdcr_factory.go:632 +0x496 github.com/couchbase/goxdcr/factory.(*XDCRFactory).SetStartSeqno-fm() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/factory/xdcr_factory.go:163 +0x4f