WARNING: DATA RACE --- P2 Write by goroutine 65: github.com/couchbase/goxdcr/pipeline_svc.(*PipelineSupervisor).UpdateSettings() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/pipeline_supervisor.go:227 +0x4e6 github.com/couchbase/goxdcr/pipeline_ctx.(*PipelineRuntimeCtx).UpdateSettings() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_ctx/pipeline_runtimeCtx.go:167 +0x226 github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).UpdateSettings() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:656 +0x59a github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).setTimestampForVB() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:383 +0xccd github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).startSeqnoGetter() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:448 +0xc78 Previous read by goroutine 22: github.com/couchbase/goxdcr/log.(*CommonLogger).logMsg() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/log/logger.go:142 +0x67 github.com/couchbase/goxdcr/log.(*CommonLogger).Debug() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/log/logger.go:168 +0x60 github.com/couchbase/goxdcr/gen_server.(*GenServer).HeartBeat_async() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/gen_server/gen_server.go:183 +0x27d github.com/couchbase/goxdcr/supervisor.(*GenericSupervisor).HeartBeat_async() :1 +0x89 github.com/couchbase/goxdcr/supervisor.(*GenericSupervisor).sendHeartBeats() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/supervisor/generic_supervisor.go:218 +0x707 github.com/couchbase/goxdcr/supervisor.(*GenericSupervisor).supervising() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/supervisor/generic_supervisor.go:197 +0x5a3 Goroutine 65 (running) created at: github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).SetVBTimestamps() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:344 +0x11b7 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 Goroutine 22 (running) created at: github.com/couchbase/goxdcr/supervisor.(*GenericSupervisor).Start() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/supervisor/generic_supervisor.go:147 +0x312 github.com/couchbase/goxdcr/replication_manager.StartReplicationManager.func1() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/replication_manager.go:128 +0x31e sync.(*Once).Do() /Users/riteshmotlani/.cbdepscache/exploded/x86_64/go-1.6/go/src/sync/once.go:44 +0xf6 github.com/couchbase/goxdcr/replication_manager.StartReplicationManager() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/replication_manager.go:155 +0x2bf main.main() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/main/main.go:156 +0x1bbf ================== WARNING: DATA RAC --- P0 Write by goroutine 219: runtime.mapassign1() /Users/riteshmotlani/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/hashmap.go:429 +0x0 github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).updateTimestampsSetting() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:676 +0x2a1 github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).updatePipelineSettings() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:666 +0xab github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).UpdateSettings() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:637 +0xb0 github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).setTimestampForVB() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:383 +0xccd github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).startSeqnoGetter() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:448 +0xc78 Previous read by goroutine 60: [failed to restore the stack] Goroutine 219 (running) created at: github.com/couchbase/goxdcr/pipeline_svc.(*CheckpointManager).SetVBTimestamps() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/checkpoint_manager.go:344 +0x11b7 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 Goroutine 60 (running) created at: github.com/couchbase/goxdcr/pipeline_svc.(*StatisticsManager).Start() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_svc/statistics_manager.go:698 +0x486 github.com/couchbase/goxdcr/pipeline_ctx.(*PipelineRuntimeCtx).Start() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_ctx/pipeline_runtimeCtx.go:67 +0x57e github.com/couchbase/goxdcr/pipeline.(*GenericPipeline).Start() /Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline/generic_pipeline.go:195 +0xb3f 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 ================== ==================