Description
Take look at below race condition caused via replication status object.
WARNING: DATA RACE
Read by goroutine 33:
github.com/couchbase/goxdcr/replication_manager.GetReplicationInfos()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/replication_manager.go:595 +0x2fb
github.com/couchbase/goxdcr/replication_manager.(*Adminport).doGetAllReplicationInfosRequest()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/adminport.go:380 +0xd2
github.com/couchbase/goxdcr/replication_manager.(*Adminport).handleRequest()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/adminport.go:170 +0x826
github.com/couchbase/goxdcr/replication_manager.(*Adminport).processRequest()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/adminport.go:136 +0x1fd
github.com/couchbase/goxdcr/replication_manager.(*Adminport).(github.com/couchbase/goxdcr/replication_manager.processRequest)-fm()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/adminport.go:68 +0x59
github.com/couchbase/goxdcr/gen_server.(*GenServer).run()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/gen_server/gen_server.go:99 +0xcf0
Previous write by goroutine 102:
github.com/couchbase/goxdcr/pipeline_manager.(*pipelineUpdater).update()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/pipeline_manager/pipeline_manager.go:642 +0x789
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 33 (running) created at:
github.com/couchbase/goxdcr/gen_server.(*GenServer).Start_server()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/gen_server/gen_server.go:69 +0x85
github.com/couchbase/goxdcr/replication_manager.(*Adminport).Start()
/Users/riteshmotlani/cbwatson/goproj/src/github.com/couchbase/goxdcr/replication_manager/adminport.go:82 +0x6e
==================
==================