{"push_id":956310799,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b03fd5259f803172b38c88473fca6294e9d1a133","before":"a8a7df422aa2a4171f74596b8d363a6ef579303f","commits":[{"sha":"b03fd5259f803172b38c88473fca6294e9d1a133","author":{"email":"d73ef2279de6577f7bf081737ee47554bbb7dc82@couchbase.com","name":"abhinavdangeti"},"message":"Address datarace with curChkSeqno in DcpStream::ActiveStream\n\n10:39:45 WARNING: ThreadSanitizer: data race (pid=17881)\n10:39:45   Write of size 8 at 0x7d480000b970 by thread T15:\n10:39:45     #0 ActiveStream::nextCheckpointItemTask() /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/dcp/stream.cc:716 (ep.so+0x0000000741d9)\n10:39:45     #1 ActiveStreamCheckpointProcessorTask::run() /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/dcp/stream.cc:652 (ep.so+0x000000073dd8)\n10:39:45     #2 ExecutorThread::run() /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/executorthread.cc:115 (ep.so+0x0000000f69b6)\n10:39:45     #3 launch_executor_thread(void*) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/executorthread.cc:33 (ep.so+0x0000000f6565)\n10:39:45     #4 platform_thread_wrap(void*) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/platform/src/cb_pthreads.cc:54 (libplatform.so.0.1.0+0x00000000551b)\n10:39:45\n10:39:45   Previous read of size 8 at 0x7d480000b970 by main thread (mutexes: write M13331, write M901842698644811512, write M37467):\n10:39:45     #0 ActiveStream::addTakeoverStats(void (*)(char const*, unsigned short, char const*, unsigned int, void const*), void const*) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/dcp/stream.cc:588 (ep.so+0x0000000739ce)\n10:39:45     #1 DcpProducer::addTakeoverStats(void (*)(char const*, unsigned short, char const*, unsigned int, void const*), void const*, unsigned short) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/dcp/producer.cc:717 (ep.so+0x000000066ee0)\n10:39:45     #2 EventuallyPersistentEngine::doDcpVbTakeoverStats(void const*, void (*)(char const*, unsigned short, char const*, unsigned int, void const*), std::string&, unsigned short) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/ep_engine.cc:5745 (ep.so+0x0000000c8bfb)\n10:39:45     #3 EventuallyPersistentEngine::getStats(void const*, char const*, int, void (*)(char const*, unsigned short, char const*, unsigned int, void const*)) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/ep_engine.cc:4705 (ep.so+0x0000000c6d6c)\n10:39:45     #4 EvpGetStats(engine_interface*, void const*, char const*, int, void (*)(char const*, unsigned short, char const*, unsigned int, void const*)) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/src/ep_engine.cc:221 (ep.so+0x0000000b4d1e)\n10:39:45     #5 mock_get_stats(engine_interface*, void const*, char const*, int, void (*)(char const*, unsigned short, char const*, unsigned int, void const*)) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/memcached/programs/engine_testapp/engine_testapp.cc:241 (engine_testapp+0x0000004cdfcd)\n10:39:45     #6 get_int_stat(engine_interface*, engine_interface_v1*, char const*, char const*) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/tests/ep_test_apis.cc:999 (ep_testsuite_dcp.so+0x0000000366c2)\n10:39:45     #7 wait_for_stat_to_be_lte(engine_interface*, engine_interface_v1*, char const*, int, char const*, long) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/tests/ep_test_apis.cc:1162 (ep_testsuite_dcp.so+0x00000003c961)\n10:39:45     #8 dcp_stream(engine_interface*, engine_interface_v1*, char const*, void const*, unsigned short, unsigned int, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, int, int, int, int, bool, bool, unsigned char, bool, unsigned long*, bool) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/tests/ep_testsuite_dcp.cc:123 (ep_testsuite_dcp.so+0x00000002880c)\n10:39:45     #9 test_dcp_agg_stats(engine_interface*, engine_interface_v1*) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/ep-engine/tests/ep_testsuite_dcp.cc:1340 (ep_testsuite_dcp.so+0x000000011247)\n10:39:45     #10 execute_test(test, char const*, char const*) /home/couchbase/jenkins/workspace/ep-engine-threadsanitizer-master/memcached/programs/engine_testapp/engine_testapp.cc:1131 (engine_testapp+0x0000004cc600)\n10:39:45     #11 __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226 (libc.so.6+0x00000002176c)\n\nChange-Id: I0023685c5ebc2c89977b8bc835b252591120586e\nReviewed-on: http://review.couchbase.org/59282\nReviewed-by: Manu Dhundi <manu@couchbase.com>\nTested-by: buildbot <build@couchbase.com>","distinct":true,"url":"https://api.github.com/repos/membase/ep-engine/commits/b03fd5259f803172b38c88473fca6294e9d1a133"}]}